Re: Using Python with COM to communicate with proprietary Windows software

2005-09-21 Thread Paul Casteels
Joakim Persson wrote: > On Tue, 13 Sep 2005 10:15:18 +0200, Thomas Heller <[EMAIL PROTECTED]> > wrote: > > >>>This _shouldn't_ be too difficult -- I know which methods must be >>>implemented (basically just some kind of event handling to deal with >>>randomly arriving log points, should be implem

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-13 Thread Joakim Persson
On Tue, 13 Sep 2005 10:15:18 +0200, Thomas Heller <[EMAIL PROTECTED]> wrote: >> This _shouldn't_ be too difficult -- I know which methods must be >> implemented (basically just some kind of event handling to deal with >> randomly arriving log points, should be implemented as "onMsg()" on my >> COM

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-13 Thread Thomas Heller
Joakim Persson <[EMAIL PROTECTED]> writes: > On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]> > wrote: > >>Sounds like a perfect job for comtypes, which is a COM library >>implemented in pure Python, based on ctypes. comtypes should make it >>easy to access custom (non-dispat

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-13 Thread Thomas Heller
Andrew MacIntyre <[EMAIL PROTECTED]> writes: > On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]> > wrote: > > {...} > >>(I have released and announced this 3 weeks ago, but haven't got a >>single feedback. So it seems the need to access custom interfaces is >>very low.) > > I

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-10 Thread Joakim Persson
On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]> wrote: >Sounds like a perfect job for comtypes, which is a COM library >implemented in pure Python, based on ctypes. comtypes should make it >easy to access custom (non-dispatch derived) com interfaces, or the >vtable based par

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-10 Thread Andrew MacIntyre
On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]> wrote: {...} >(I have released and announced this 3 weeks ago, but haven't got a >single feedback. So it seems the need to access custom interfaces is >very low.) I have downloaded it and am trying to find the time to play wi

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-09 Thread Joakim Persson
On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]> wrote: >Joakim Persson <[EMAIL PROTECTED]> writes: > >> I have a rather bloated C++ client prototype which "works", so I >> should have all the code needed to invoke the interface, but this >> client is of course rather bloated

Re: Using Python with COM to communicate with proprietary Windows software

2005-09-08 Thread Thomas Heller
Joakim Persson <[EMAIL PROTECTED]> writes: [...] > This means that I must come up with a way to interface Python with > this log tool. After some investigations, I have run inte problems -- > my inital approach was to use Python + win32com to communicate with > the COM interface. Unfortunately, it

Using Python with COM to communicate with proprietary Windows software

2005-09-08 Thread Joakim Persson
Hello all. I am involved in a project where we have a desire to improve our software testing tools, and I'm in charge of looking for solutions regarding the logging of our software (originating from embedded devices). Currently, we are using a heavyweight, proprietary log tool developed by another