Hello,
I was trying to use the "GetVersionInformation" function of the dll interface, however only the version of the dll is returned correctly. Instead of the driver version I got garbage. (262144.65537). My driver version is 1.59 Development.
Here's my code:
DriverInit;
EnablePrinter;
long CDIntfMajor = 0;
long CDIntfMinor = 0;
long PrinterDriverMajor = 0;
long PrinterDriverMinor = 0;
long ret = GetVersionInformation(hPrinter, &CDIntfMajor, &CDIntfMinor, &PrinterDriverMajor, &PrinterDriverMinor);
LOG("Amyuni PDF Converter dll version: %d.%d, version of the driver: %d.%d", CDIntfMajor, CDIntfMinor, PrinterDriverMajor, PrinterDriverMinor);
Is there anything wrong? How could I get the driver version correctly.
Just a note: when I installed the evaluation version on my computer, I did get the version of the driver correctly.
Thanks.
GetVersionInformation function
Hello,
1.59 ? ! This is an old version, a very old version indeed....
It is possible that there exist a bug in this version this is why you are not getting the driver version properly.
I advise you to update your version otherwise you can contact our technical support our engineers will help you if we do still sutpport this version.
1.59 ? ! This is an old version, a very old version indeed....
It is possible that there exist a bug in this version this is why you are not getting the driver version properly.
I advise you to update your version otherwise you can contact our technical support our engineers will help you if we do still sutpport this version.