[python-win32] How to create a com_record?
patter001 at gmail.com
Fri Feb 1 04:34:23 CET 2008
I have a COM server that is expecting a GUID as an argument. The generated
makepy shows that the function is expecting a VT_RECORD. I cannot seem to
pass in the CLSID, I get the following:
TypeError: Only com_record objects can be used as records
I looked at the win32com.client.Record function, but it looks like it will
create another COM object if I give it the GUID.What I really need is to
pass the GUID in to this function as a sort of structure. I "think" I have
to build a struct (using the struct class?) turn it into a buffer and then
somehow convert this to a Record object....Trouble is I can't find any
documentation on com_record objects anywhere....Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-win32