Hi,
I have a python script which uses a COM object. This script works correctly when I run it from pywin, however, it does not run when I run it from windows command line - it throws an exception occurred in this COM object.
I know that this COM obj. exception is also thrown when call is made from C++ code, but this can be avoided when some specific resource is added to C++ project (after project rebuild it works).
I don't know how to achieve the same effect (as with C++ solution) with python and also I don't know what pywin is doing differently so that this code works there.
Any help is appreciated.
Thank you.