You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying using NAPS SDK (1.1.4) in my project. I've notice that it reports "Could not start worker" error in log when my application is running on Windows. The report contains an exception with the message: "An error occurred trying to start process 'D:\testnap2scan\NAPS2.exe' with working directory 'D:\testnap2scan'. The system cannot find the file specified."
The problem is in WorkerFactory.CreateDefault. "NAPS2.exe" is hardcoded for a native worker name. There is no way to fix it in a program based on SDK, because WorkerFactory is an internal class.
However my application can obtain images from scanner.
Could you, please, fix it.
And could you, please, clarify why this native worker is required? Shall I implement something like this in my application?
The text was updated successfully, but these errors were encountered:
I'm trying using NAPS SDK (1.1.4) in my project. I've notice that it reports "Could not start worker" error in log when my application is running on Windows. The report contains an exception with the message: "An error occurred trying to start process 'D:\testnap2scan\NAPS2.exe' with working directory 'D:\testnap2scan'. The system cannot find the file specified."
The problem is in
WorkerFactory.CreateDefault
. "NAPS2.exe" is hardcoded for a native worker name. There is no way to fix it in a program based on SDK, becauseWorkerFactory
is an internal class.However my application can obtain images from scanner.
Could you, please, fix it.
And could you, please, clarify why this native worker is required? Shall I implement something like this in my application?
The text was updated successfully, but these errors were encountered: