Resolved: CdIntf300.zip

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
kschmidt
Posts: 13
Joined: Thu Feb 02 2006

Resolved: CdIntf300.zip

Post by kschmidt »

I downloaded the CdIntf300.zip from www.amyuni.com/downloads/cdintf300.zip and unpacked the .lib and .h files to compile into my app. When I went to run it was complaining about not having cdintf251.dll. I looked into the lib, and the lib is indeed referencing 251, not 300 like I expected. Do you have a real version of the cdintf300.lib that references the pdf converter 3.0 and not 2.51?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Our developers are preparing a new build of the library with no refrerence to 2.51.

Thanks for mentioning this.
mrtflv
Posts: 21
Joined: Tue Apr 20 2004

Post by mrtflv »

Do you have any idea about when will be available the cdinf300.zip with the correct library file.
Thanks
Flavio
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

We will have a new build by the middle of next week.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The library is already rebuilded.

The new .h and .lib files are ready please feel free to download them from: www.amyuni.com/downloads/cdintf300.zip

Hope this helps.
pseongho
Posts: 4
Joined: Wed Dec 18 2002

Got an link error

Post by pseongho »

I compiled the code with linking cdintf300.lib with cdintf300.h and i got the follwoing error. If I just change the liabrary to cdintf250.lib, it is okay.


unresolved external symbol "int __stdcall EncryptPDFDocument128(char const *,char const *,char const *,unsigned long)" (?EncryptPDFDocument128@@$$J216YGHPBD00K@Z)
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

unresolved external Error

Post by lovison@algolsh.it »

Hi,
I have downloaded too cdintf300.zip with
- CdIntf300.h 22kb 2006/09/15
- CdIntf300.lib 403kb 2006/04/03

but when I link my application, I get this errors :

error LNK2001: unresolved external symbol _PrintPDFDocument@20
error LNK2001: unresolved external symbol _EncryptPDFDocument128@16

In CDIntf300.lib the C++ names are :

PrintPDFDocument@@YGHPBD0JJJ@Z
EncryptPDFDocument128@@YGHPBD00K@Z

but in CDIntf250.lib are ok.
:? :? :?
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hello,


The compiler is failing to find these functions because the cdintf300.h file has a minor issue.

In order to use these functions you will need to edit the cdintf300.h file and export the functions in c++ and not c. I have included below an example of what I mean.

// Last lines in cdintf250.h/cdintf251.h/cdintf300.h
// move the functions below
#endif #ifdef __cplusplus } #endif

BOOL WINAPI EncryptPDFDocument128( LPCSTR FileName, LPCSTR Owner, LPCSTR User,
DWORD Permissions );
BOOL WINAPI PrintPDFDocument( LPCSTR FileName, LPCSTR
PrinterName, long StartPage, long EndPage, long Copies );


Hope this helps?
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Post by lovison@algolsh.it »

Ok. I relink successful.
Thank's a lot! :D

Fabrizio
Post Reply