Resolved: CdIntf300.zip
Resolved: CdIntf300.zip
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?
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.
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.
Got an link error
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)
unresolved external symbol "int __stdcall EncryptPDFDocument128(char const *,char const *,char const *,unsigned long)" (?EncryptPDFDocument128@@$$J216YGHPBD00K@Z)
-
- Posts: 30
- Joined: Fri Apr 04 2003
unresolved external Error
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.
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.
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?
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?
-
- Posts: 30
- Joined: Fri Apr 04 2003