Use the Record Method from win32com.client
object = win32com.client.Dispatch("Server.Object")
IPAddress = win32com.client.Record("IPADDRESS_STRUCT", object)
IPAddress.b1 = 192
IPAddress.b2 = 168
IPAddress.b3 = 0
IPAddress.b4 = 1
object.connect(IPAddress)
Stefan
> -Original Message-
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