Skip to content

In windows 7 32-bit and 64-bit systems, scanner information cannot be found #368

Description

@happycoderNo1

Hello, I have developed a winform program using NAPS2 SDK and try to invoke scanner using twain. It can work normally in windows10 and 11, but it can not work normally in Windows 7 64 and 32 bit environment. The specific performance is that it takes too long to obtain scanner list and no data is returned. The detailed code is as follows. Could you please give me some help?

ScanningContext scanningContext = new ScanningContext(new GdiImageContext());
var controller = new ScanController(scanningContext);

scanningContext.SetUpWin32Worker();

// Program blocking
List<ScanDevice> scanDevices = await scanController.GetDeviceList(Driver.Twain);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions