[python-win32] COM event doesn't received

2014-12-26 Thread jh_wang2004
Hi all: I use win32com to receive a com event,but it does not work,the code is: import win32com.client import pythoncom import win32com.client.makepy class TrackingEvent(object): def IdentifyTire(self): print 'IdentifyTire event detected' def TireIsActivated(self, Tirecode, Cus

Re: [python-win32] python-win32 Digest, Vol 135, Issue 13

2014-07-01 Thread jh_wang2004
Hi Tim:     Thanks a lot for you reply. According to the COM document , the function declaration in C++ is    lRet = object.ReadDeviceBlock(szDevice、lSize、*lplData)        Long lRet  (return value, 0 is read success, otherwise is read failed)   Output        CString szDevice (Device register na