ntwain icon indicating copy to clipboard operation
ntwain copied to clipboard

Problem with twain32.dll with UWP app service

Open christopher-carmichael opened this issue 2 years ago • 0 comments

I am using nTwain in a win32 app that is run as an app service to a UWP app. The app works flawlessly when running directly. However when the UWP app calls it via FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync the first error is missing twain_32.dll. So I compiled the twaindsm.dll and put it in the directory of the win32 app and it will then run, however it will not see any twain data sources. So I feel like it needs to use twain_32.dll, but I cannot for the life of me figure out why it will not find it. Even with twain_32.dll in the directory with it, it will not use it. App is compiled in x86.

christopher-carmichael avatar Aug 29 '22 18:08 christopher-carmichael