I am creating a small part of a game with the use of COM objects with Python and a small problem Has gone in.
The COM object I'm using is a method called taken from MS OLE / Com Object Viewer Now if I create and assign my coop app in Python then all Try something as long as it is ok and pass an example of an object with this method. i python window The error found in: When this happens in C # I like this thing like my class def Looks like: [CommonWeBible (True)] Public class callback {// some methods here} and call method Python version are equal. Is there something like this in Python for using such a object as a callback for a COM object < Div class = "post-text" itemprop = "text"> AFAIK object will need to be COM compliant. I would not know honestly out of the box, but we have a similar situation (from a vendor to software) which is actively addressed at the end using ActivePython. Works fine in both ways, automatically with a dispatcher wrapping the COM analog object for dragon access, and on the other hand. If you do not have licensing and / or financial constraints then it may be worth giving a price. If anyone can dismiss it without any additional libraries then move on to the answers. SetCallback , which takes
object , the moth looks like this:
[ID (0x60010010)] zero setbackback (IDIPACH * in callback item);
callback = callback () mycomobject.SetCallback (callback) class callback (def): def SetStatusText (auto, state): print status
TypeError: The Python instance can not be converted to a COM object
Comments
Post a Comment