Application complains missing pxclib40.dll after distrib.

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

WayneH
User
Posts: 48
Joined: Mon May 21, 2007 5:39 pm

Application complains missing pxclib40.dll after distrib.

Post by WayneH »

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? :?:
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: Application complains missing pxclib40.dll after distrib.

Post by John - Tracker Supp »

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
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
WayneH
User
Posts: 48
Joined: Mon May 21, 2007 5:39 pm

Re: Application complains missing pxclib40.dll after distrib.

Post by WayneH »

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.
WayneH
User
Posts: 48
Joined: Mon May 21, 2007 5:39 pm

Re: Application complains missing pxclib40.dll after distrib.

Post by WayneH »

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.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: Application complains missing pxclib40.dll after distrib.

Post by John - Tracker Supp »

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
.
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
WayneH
User
Posts: 48
Joined: Mon May 21, 2007 5:39 pm

Re: Application complains missing pxclib40.dll after distrib.

Post by WayneH »

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.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: Application complains missing pxclib40.dll after distrib.

Post by John - Tracker Supp »

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 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