dongshaoyang

Results 8 comments of dongshaoyang

I found out which method caused the error. The issue occurred in the CoInitializeEx method within the ole32.go file. ```go func CoInitializeEx(reserved uintptr, coInit uint32) error { return windows.CoInitializeEx(reserved, coInit)...

A small example of how to set up DTWAIN with Go language [mian.zip](https://github.com/user-attachments/files/16755059/mian.zip)

[dtwain5.log](https://github.com/user-attachments/files/17538693/dtwain5.log) In this log, the thread ID remains unchanged, yet acquisition still fails. Starting from line 39864, the device selection begins, and at line 40504, opening the data source fails....

I am using Golang, and the reason for DTWAIN calls appearing on different threads may be due to Golang's scheduling mechanism. I'll try to deal with that. [dtwain-20241029-1.txt](https://github.com/user-attachments/files/17554508/dtwain-20241029-1.txt) Here is...

1. I tried unload the entire DTWAIN.DLL from memory and reload it again for each time. The problem still persists. 2. It's successfully open the KODAK scanner first, then open...

Following the steps you mentioned, I used DTWDEMO32U.exe to scan with the KODAK scanner ten times without any issues. Then, I used MysherCameraTwain to scan ten times, which also worked...

When I select the device name "KODAK Scanner: E1xxx," I get the message: `-2500 Could not open TWAIN source - "KODAK Scanner: E1xxx."` However, when I select "WIA-KODAK E1040 Scanner,"...