Home › Forums › TWAIN Classic › Problem enumerating list of installed scanners in windows server 2012
- This topic is empty.
- AuthorPosts
- Antonio Tortosa
Hi.
I’m developing a delphi application that uses twain.
My application works as expected with Windows 10, but when using in a windows 2012 server, when I ask for the list of installed scanners, I recall the information with the following parameters: DG_CONTROL, DAT_IDENTITY, MSG_GETFIRST. The response from the function call is always the same: “TWRC_ENDOFLIST”.
However, if I use the sample application written in c++ from the github repository, I get the list of installed scanners.
I’ve checked the code and I do the same calls in the same order than the demo app, but my code works under windows10, but not under win2012 server.Does anyone have experienced somethng similar? If so, how have you solved it?
Thanks for your help.
Un saludo, Antonio
MarkMMost likely the application has been built for or is running as a native 64-bit process. Many TWAIN drivers are still 32-bit. Rebuilding the application as 32-bit will likely fix the problem…
- AuthorPosts