How to get currently installed driver version number

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

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

ylihaha
User
Posts: 7
Joined: Mon Jun 06, 2005 6:48 am

How to get currently installed driver version number

Post by ylihaha »

Our software has a feature which works with version 4.0167 but not with 4.0163. Is there a way to get exact version of currently installed PDF-XChange driver, for example from IPXCControlEx object. This way our software could warn user about old version and advice to update. This would decrease helpdesk workload.

Br,
Harri
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: How to get currently installed driver version number

Post by Tracker Supp-Stefan »

Hello Harri,

You can get the file version for either pdfSaver4.exe or drvui40.dll

Both are located in the folder pointed by the "InstallPath" key in the registry:
HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 4.0\Drivers
or
HKEY_LOCAL_MACHINE\Software\Tracker Software\PDF-XChange 4.0\Drivers

Best,
Stefan
ylihaha
User
Posts: 7
Joined: Mon Jun 06, 2005 6:48 am

Re: How to get currently installed driver version number

Post by ylihaha »

Hi

Yes it's works but it was quite a task. I'm using PDF-XChange from Progress 4GL language which has no build in functions for reading registry or getting file version information so I had to call external functions from "advapi32.dll" and such. It would have been nice just to ask IPXCControlEx for it's version but anyhow now it works.

Thanks,
Harri
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: How to get currently installed driver version number

Post by John - Tracker Supp »

Pleased you got there.
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