[python-win32] com object gives a pointer to a C++ struct array back

Gijs Korremans gijs at globaltrack.com
Mon Jun 6 15:34:13 CEST 2005


Hi

one of the functions in a com object I have to use gives me a pointer to the firtst struct in an array back. With Python it's possible to use the first truct, but is it possible to use the others as well?

//for example:
PointerToFirstStruct = comObj.GetPackets()
argOne = PointerToFirstStruct.argOne
argTwo = PointerToFirstStruct.argTwo
# Go to the next struct
# PointerToFirstStruct++ doesn't work


Kind regards, 


Gijs 

--
This message has been scanned for viruses and
dangerous content by Network Sentry, and is
believed to be clean.
http://www.networksentry.co.za



More information about the Python-win32 mailing list