I'm getting a project load error from atcmd.exe when trying to run an Automise script that I know works. I created a smiple script that only exports the log to the current folder. I'm calling it like this
both produce the same error. This same setup works on another machine. I can also load and run this successfully via the IDE. Please help - I've tried a number of different things including uninstalling and reinstalling Automise. I am running Automise version 2.0.0.157. This is the exact error I'm getting:
Error Loading Project File : CoInitialize has not been called
Ok, just looked up the cause in our source control. We took an update (bugfix) from a third party component vendor. In this update they added a call to CoInitialize which ended up getting called before our own call to it, but with different parameters… this resulted in our error handling sometimes thinking it had not been called. We made a change in build 159 and later to make sure that CoInitialize was called before anything else is done, and we also check the result of the call (no more taking it for granted that it would succeed!).
I would therefore recommend you update your other installations.