-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 27 when updating scanner settings #48
Comments
Fixed this issue. Previous dev had this set to: But this is not allowed on Windows machines as stated in the Twain documentation. _ On Windows - It is not recommended to set this field to TRUE. The Source may ignore |
@Mister-Genius |
@ljchengx vsersion is 3.7.0 |
@ljchengx If you have this piece of code in your code: NTwain.PlatformInfo.Current.PreferNewDSM = false; I haven't tested it on an older machine, like a g1100, but I don't think it will be too much of a problem. |
@ljchengx 如果你的代码中有这一段代码:NTwain.PlatformInfo.Current.PreferNewDSM = false; 我没有在比较老的机器上测试,比如g1100,不过我觉得不会有太大的问题。 |
@ljchengx 而且enable那块一定要使用false,windows上使用true的话,可能会导致驱动没反应,这两天我试过了。 |
We have built an application that needs to scan documents and the end user also needs to be able to update the scanner settings from the driver. We have 2 different scanners and on the KODAK scanner it works but on out Canon scanners (DRG2090) there is a generic error when changing settings.
We can open the settings it works and then when we close them and try to open again it crashes with an error 27. This only happens on the Canon, the KODAK works without any problems. All the other functionalities work without a problem on both scanners.
The text was updated successfully, but these errors were encountered: