Type Conversion to COM Variant

Haegi Kim wideopen at shinbiro.com
Wed Apr 17 03:29:11 EDT 2002


Hi, experts,
 
I have a COM client which gets a reference to a COM server.
The COM client has a exec expression in order to execute a script in
which the reference to the COM server is used.
It works find with the COM server in InProcServer mode, but doesn't in
LocalServer and raises the following error.
-----------------------------------------------------------------------------
exceptions.TypeError: Objects of type 'instance' can not be converted
to a COM VARIANT"
-----------------------------------------------------------------------------
In what case the type conversion causes the error? And what should I
do?
Thanks in advance.



More information about the Python-list mailing list