RE: What are com_record objects

2005-05-18 Thread Stefan Schukat
; -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Gijs Korremans > Sent: Wednesday, May 18, 2005 3:48 PM > To: python-list@python.org > Subject: What are com_record objects > > > Hi, > > I want to connect to a com objec

Re: What are com_record objects

2005-05-18 Thread Larry Bates
Python does have struct module that allows you to create C-style structures. Googling for "python struct" give us: http://docs.python.org/lib/module-struct.html I use it a lot to interface to COM object and to call methods in .DLLs. Larry Bates Gijs Korremans wrote: > Hi, > > I want to conne

What are com_record objects

2005-05-18 Thread Gijs Korremans
Hi, I want to connect to a com object with win32.client. Through this com object a have to connect to an other device with object.Connect(struct IPADDRESS_STRUCT * ip) the struct IPADDRESS_STRUCT looks like this: Byte Offset NameTypeLength (Bytes) Description 0 b1 BYTE