Issues with PXCp_InsertPagesTo

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

Post Reply
NBachus
User
Posts: 31
Joined: Tue Oct 26, 2010 2:40 pm

Issues with PXCp_InsertPagesTo

Post by NBachus »

I am trying to use PXCp_InsertPagesTo, but I am getting runtime errors on the second passing of the function I created on one computer and no crashes on another. Is there a function to determine the exact version of xcpro40.dll so that I can compare the two then give further details? I will also e-mail a test project for further diagnosis to the tracker support e-mail.

Thanks,
Nathan
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: Issues with PXCp_InsertPagesTo

Post by Walter-Tracker Supp »

You can check the DLL Version in Windows explorer with "properties"; just right click the DLL.

You can also access it programatically with the windows API function GetFileVersionInfo():

http://msdn.microsoft.com/en-us/library ... 85%29.aspx

You would also be well advised to check all the dlls that are used by the library (e.g. pxclib40, etc.) - not just the xcpro40 DLL.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: Issues with PXCp_InsertPagesTo

Post by John - Tracker Supp »

Moved to correct forum ...
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
NBachus
User
Posts: 31
Joined: Tue Oct 26, 2010 2:40 pm

Re: Issues with PXCp_InsertPagesTo

Post by NBachus »

4.0.0.150 works

4.0.199.0 works on the first run, but crashes on the second when inserting the page.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: Issues with PXCp_InsertPagesTo

Post by John - Tracker Supp »

Please use the latest release in your tests and ensure all dll's on the system supplied by us are build 4.0.0.200

available here :

https://www.pdf-xchange.com/product/downloads/sdk

Then if an missue is found this can be corrected whereas if an issue is found in build 199 - we would still need to establish if the issue existed in build 200.


Thanks
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
NBachus
User
Posts: 31
Joined: Tue Oct 26, 2010 2:40 pm

Re: Issues with PXCp_InsertPagesTo

Post by NBachus »

I figured out the problem. Inside one of our outside functions, we are already using PXCp_Delete and then I am running it again after writing the document. This issue can be removed or marked as resolved.

Thanks!
Jamie - Tracker Supp
User
Posts: 191
Joined: Thu Jun 02, 2011 3:23 pm

Re: Issues with PXCp_InsertPagesTo

Post by Jamie - Tracker Supp »

:D
Post Reply