[EMAIL PROTECTED] schrieb: > Seems to stomp memory. A work around is to declare the parameter as a > POINTER(GUID) instead of GUID and pass a copy of the GUID instance byref > [this should be what happens under the covers]. I'm not sure if this is a > comtypes or ctypes issue; it likely applies to other "large" datatypes as > well. I'm using python-2.5.2.amd64.msi, > ctypes-1.0.2.win32-py2.5-AMD64.msi and comtypes-0.4.2.zip.
It looks like a ctypes bug on Windows/AMD64, structures are not passed correctly by value. I'm looking into it but it may take a few days. Thanks for the heads up and the nice diagnosis, Thomas ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users