Hi -
I've built an installer (Install Shield) for my app, which includes the following:
xcpro40.dll
dscrt40.dll
pxclib40.dll
xccdx40.dll
PDFXCviewAx.dll
All files are put into the System32 directory of the receiving machine.
However, when I run my app I get this error:
"Run-time error '53': FIle not found: pxclib40.dll"
How can I resolve this?
Application complains missing pxclib40.dll after distrib.
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 48
- Joined: Mon May 21, 2007 5:39 pm
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Application complains missing pxclib40.dll after distrib.
You do not have all the required files I suspect and trhis is dependant on the functionality used .
From the help file - redistribution topic :
DLL(s) Name
Version
Common Libraries
dscrt40.dll, xccdx40.dll
4.00.x
PXC-XChange/Tools Library Core DLL's (always required)
pxclib40.dll, XCPRO40.dll
4.00.x
Image-XChange Core
Built-in support of: BMP, WMF, AMF, and EMF formats.
ixclib40.dll
4.00.x
Image-XChange Formats Module
Supports following file formats:
PNG, JNG, GIF, ICO, PBM, PGM, PPM, JBIG, JBIG2,
JPEG, JPEG2000, WBMP, PCX, DCX, TGA
fm40base.dll
4.00.x
Image-XChange Formats Module
Supports TIFF file format.
fm40tiff.dll
4.00.x
Net Library used by PDF-XChange/Tools Library.
netlib40.dll
4.00.x
Scanner Support Library.
xcscan40.dll
4.00.x
From the help file - redistribution topic :
DLL(s) Name
Version
Common Libraries
dscrt40.dll, xccdx40.dll
4.00.x
PXC-XChange/Tools Library Core DLL's (always required)
pxclib40.dll, XCPRO40.dll
4.00.x
Image-XChange Core
Built-in support of: BMP, WMF, AMF, and EMF formats.
ixclib40.dll
4.00.x
Image-XChange Formats Module
Supports following file formats:
PNG, JNG, GIF, ICO, PBM, PGM, PPM, JBIG, JBIG2,
JPEG, JPEG2000, WBMP, PCX, DCX, TGA
fm40base.dll
4.00.x
Image-XChange Formats Module
Supports TIFF file format.
fm40tiff.dll
4.00.x
Net Library used by PDF-XChange/Tools Library.
netlib40.dll
4.00.x
Scanner Support Library.
xcscan40.dll
4.00.x
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 48
- Joined: Mon May 21, 2007 5:39 pm
Re: Application complains missing pxclib40.dll after distrib.
I am not using any bitmap functionality (image xchange),
scanner or net.
All of my declarations use only:
pxclib40.dll
or
xcpro40.dll
I need to know why pxclib40.dll is not found, even though it is in the system32 directory.
scanner or net.
All of my declarations use only:
pxclib40.dll
or
xcpro40.dll
I need to know why pxclib40.dll is not found, even though it is in the system32 directory.
-
- User
- Posts: 48
- Joined: Mon May 21, 2007 5:39 pm
Re: Application complains missing pxclib40.dll after distrib.
I've done some digging (using Dependency Walker) and discovered that I was missing ixclib40.dll even though I did not directly declare it. pxclib40.dll is dependent upon ixclib40.dll, and the error was not correct when it said "cannot find pxclib40.dll" - it should have said "cannot find ixclib40.dll".
So it appears that I need to distribute the following (for PDF Tools SDK 4):
xcpro40.dll
dscrt40.dll
pxclib40.dll
xccdx40.dll
ixclib40.dll
And for XChange Viewer SDK (ActiveX):
PDFXCviewAx.dll
pxcview.dll
resource.dat
If I am missing something, please let me know.
So it appears that I need to distribute the following (for PDF Tools SDK 4):
xcpro40.dll
dscrt40.dll
pxclib40.dll
xccdx40.dll
ixclib40.dll
And for XChange Viewer SDK (ActiveX):
PDFXCviewAx.dll
pxcview.dll
resource.dat
If I am missing something, please let me know.
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Application complains missing pxclib40.dll after distrib.
Hi Wayne,
the base dll's you list appear to be correct and assuming you are content that any extended functionality you require is supported by the dll's listed - then that woudl appear to be sufficient - for example - you are not offering scanning functionality in your application as no xcscan40.dll
is being distributed etc.
As stated in my answer to your other post - you DO need PDFXCview.exe - this is the PDF-XChange Viewer itself that is embedded in your application windows and this is the Viewer ActiveX wrapper : PDFXCviewAx.dll
HTH
.
the base dll's you list appear to be correct and assuming you are content that any extended functionality you require is supported by the dll's listed - then that woudl appear to be sufficient - for example - you are not offering scanning functionality in your application as no xcscan40.dll
is being distributed etc.
As stated in my answer to your other post - you DO need PDFXCview.exe - this is the PDF-XChange Viewer itself that is embedded in your application windows and this is the Viewer ActiveX wrapper : PDFXCviewAx.dll
HTH
.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 48
- Joined: Mon May 21, 2007 5:39 pm
Re: Application complains missing pxclib40.dll after distrib.
But, again, I don't use the viewer.
I only use the ActiveX to open existing PDFs so I can manipulate them - merge with others, watermarks, etc.
No viewing at all - none.
I only use the ActiveX to open existing PDFs so I can manipulate them - merge with others, watermarks, etc.
No viewing at all - none.
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Application complains missing pxclib40.dll after distrib.
If you are using the ActiveX - you are using the Viewer - albeit in the background !
If you are using the xcpro40.dll - to merge/add watermarks etc - then you are not using the AxctiveX.
If you are using the xcpro40.dll - to merge/add watermarks etc - then you are not using the AxctiveX.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com