CDIntf300.h

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
zaksoft
Posts: 66
Joined: Fri Feb 20 2004

CDIntf300.h

Post by zaksoft »

In latest .h / .lib ( dated 10/10/2008 ) is present a definition for

// Send an email with file attachments using smtp
long WINAPI SendSmtpMailEx(LPCSTR szHostname, long lPort, LPCSTR szUsername, LPCSTR szPassword, LPCSTR szFrom, LPCSTR szTo, LPCSTR szCC, LPCSTR szBCC, LPCSTR szSubject, LPCSTR szMessage, LPCSTR szFilenames);

But the corresponding function is not included in .LIB exported functions.

Other functions not working or not correctly mangled for C++ in previous versions are now working (like ConcatenateFiles, etc)

I've craeted a small set of test unit for functions and at present I'm in trouble with:

1) nResult = PDF2TIFF( lpDocTest03, "", lpOutTIFF, TIFFOPTION_MEDIUM, 0);
( return = Ok but Image is black, original doc not encrypted, and same call to PDF2RTF works)

2) nResult = PDF2XPS( lpDocTest03, "", lpOutXPS, 0, 1);
( result = Ok, the XPS seems ok but none of viewer or validator are able to open it)

3) nResult = PDF2JPEG( lpDocTest03, "", lpOutJPEG, JPEGOPTION_DEFAULT, 0);
( Result = Ok, but an exception is thrown with e->m_cause = -1), e->ReportError() show an empty messageBox)

Function DocDigitalSignature ( Joanna suggest some times ago to add the definition to .h) is no more present

TIA.
Davide Zaccanti
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: CDIntf300.h

Post by Joan »

Hello David,

the .h and .lib files are already updated for version 3.03. Please contact our technical support for more info on getting them.

Hope this helps.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
David
Amyuni Team
Posts: 89
Joined: Mon Dec 18 2006

Re: CDIntf300.h

Post by David »

Hello

An updated header file is now available on our website. You can download it at the following link: http://www.amyuni.com/downloads/cdintf300.zip

The is also an updated version of cdintf available in the product download section (http://www.amyuni.com/en/support_user/updates.php), that resolves the issue that you are encountering with the PDF2TIFF and PDF2JPEG functions.

The problem that that you are encountering with the PDF2XPS seems to be specific to the pdf you are exporting. Have you tried with a different pdf file?

Hope that helps?

David
Amyuni Custom Development
Do you need a specific PDF solution? Are you looking for expertise that will enable you to start or complete a PDF integration project?
http://www.amyuni.com/en/company/services.php
zaksoft
Posts: 66
Joined: Fri Feb 20 2004

Re: CDIntf300.h

Post by zaksoft »

With new cdintf300.dll also XPS works fine.

Just one problem, I've made a sequence of calls to test all functions. It seems that if PrintPDFDocument() fails any further calls to functions on same document ( PDF2xxx) fails also.
Maybe is an open not in share mode or a resource not freed.

Thank you for your support.

Davide

P.S. What about a PDF2PDFA call to verify and (if necessary) adjust properties to bu ISO compliant ?
Davide Zaccanti
Post Reply