ntwain
ntwain copied to clipboard
Problem with twain32.dll with UWP app service
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.