I develop an x64 application, which uses a SQL database and it works in debug and release, if I start the application from cvi. The application does not work (I get "Automation error code -2147024809 0x80070057 invalid parameter.") if I start it from outside if Windows, e.g. by starting it from the explorer.
Did anyone else have such a problem? And how to solve it?