Hi All,
I'm Working on a cad program using the it's com interface
I have a python com object in witch I call a method as follows ..
props=ent.Properties(True)
#Ent is a IDocument
this method is working well, and return a tuple of ITDProperty that
are the property of the document.
The problem is when I close the document from the Cad application, the
Cad application is unable to close the document because there is some
reference still active.
I tried several way using the gc.collect(), to set to null each document
pointer but with no result.
I tried to do the some kind of operation with c# and using the
Marshal.ReleaseComObject(doc);, where doc is the IDocument, and
document is released and I'm free to close it from the interface.
*now the question is how can I do the some staff as ReleaseComObject
dose in python ?*
its the Release method of the |IUnknown|interface the right way to do that ?
any hint is really appreciated, thanks
Regards,
Matteo
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32