Le Thu, 17 Feb 2005 19:22:16 +0100, Thomas Heller a écrit :
>> I am trying to use the function "CreateStreamOnHGlobal" from python code
>> (I need to pass an IStream object to MSXML, like I do in C++ code).
>>
>> I was able to retrieve a pointer on the IStream object in this way:
>>
>> from ctypes
Hi,
I am trying to use the function "CreateStreamOnHGlobal" from python code
(I need to pass an IStream object to MSXML, like I do in C++ code).
I was able to retrieve a pointer on the IStream object in this way:
from ctypes import *
stream = c_int()
windll.ole32.CreateStreamOnHGlobal(c_long(0),