[EMAIL PROTECTED] schrieb:
[passing GUIDs by value works on 32-bit python but not 64-bit python (on Vista 
64)]
> Seems to stomp memory.

I'm not a native english speaker and do not understand what you mean.
Also, can you give a description or a code sample to illustrate the problem?
Best would be if you can submit a test case.

> 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.
> 
> Peter

-- 
Thanks,
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

Reply via email to