Starting a Console application from Salamander
Posted: 19 Feb 2012, 13:46
I am not sure if the problem I describe is a bug or not, but it certainly has caused me a lot of problems:
If I start an .exe file from Salamander's 'command-line' (v. 2.54), the program fails when it try to establish an ado connection to SQLServer. It fails with the error 'Class not registered'.
When the program is started from the Windows Command Prompt ('dos-box') it works ok.
Using processmonitor (sysinternals.com), I found that the application searches msado15.dll in wrong folder.
I attach 2 screenshots from ProcessMonitor showing the path being searched for msado15.dll
App started from Salamander App started from Command line Thanks
If I start an .exe file from Salamander's 'command-line' (v. 2.54), the program fails when it try to establish an ado connection to SQLServer. It fails with the error 'Class not registered'.
When the program is started from the Windows Command Prompt ('dos-box') it works ok.
Using processmonitor (sysinternals.com), I found that the application searches msado15.dll in wrong folder.
I attach 2 screenshots from ProcessMonitor showing the path being searched for msado15.dll
App started from Salamander App started from Command line Thanks