There appears to be an error in the cdintf250.h file available on the website.
AutoImageCompression is missing, and Color256Compression is in the file twice.
Also, the SetDefaultPrinter() function is still defined, which causes a collision with a function of the same name in Win32.
- K
cdintf250.h is not complete
Hello,
I will forward your comments about CDIntf250.h to our developers and they will ajdust what need to be adjusted and post a new version online.
For the time being, you can make any needed changes to you .h file yourself. Ie, you can remove the duplicated function and add a declaration of any missing. You can find the function prototype in "Common Driver Interface 250.pdf".
For SetDefaultPrinter(), this function is used only if you can not print to a specific printer from inside your application and you really need to set the printer as default programmatically. You can declare it with an Alias.
Hope this helps.
I will forward your comments about CDIntf250.h to our developers and they will ajdust what need to be adjusted and post a new version online.
For the time being, you can make any needed changes to you .h file yourself. Ie, you can remove the duplicated function and add a declaration of any missing. You can find the function prototype in "Common Driver Interface 250.pdf".
For SetDefaultPrinter(), this function is used only if you can not print to a specific printer from inside your application and you really need to set the printer as default programmatically. You can declare it with an Alias.
Hope this helps.
-
- Posts: 60
- Joined: Mon Jul 28 2003
Thanks - I had already done that - my post was just to let you all know.
If anyone wants to use that header file in a C application that links with Win32, they will have to comment out the SetDefaultPrinter() declaration line (or change it, and use it as a function prototype using GetProcAddress).
- K
If anyone wants to use that header file in a C application that links with Win32, they will have to comment out the SetDefaultPrinter() declaration line (or change it, and use it as a function prototype using GetProcAddress).
- K
Joan wrote:Hello,
I will forward your comments about CDIntf250.h to our developers and they will ajdust what need to be adjusted and post a new version online.
For the time being, you can make any needed changes to you .h file yourself. Ie, you can remove the duplicated function and add a declaration of any missing. You can find the function prototype in "Common Driver Interface 250.pdf".
For SetDefaultPrinter(), this function is used only if you can not print to a specific printer from inside your application and you really need to set the printer as default programmatically. You can declare it with an Alias.
Hope this helps.