[issue5119] inconsistent wide character parameter handling in 64-bit python

2009-01-31 Thread Jason R. Coombs
Jason R. Coombs added the comment: Or alternately, is it possible (and reasonable) for ctypes to inspect the function signature and create wide character buffers when appropriate? ___ Python tracker

[issue5119] inconsistent wide character parameter handling in 64-bit python

2009-01-31 Thread Jason R. Coombs
Jason R. Coombs added the comment: After putting together a more simple example without externalities, I'm unable to continue to assert the discrepancy between 32 and 64-bit Windows, although I do still see where narrow character strings are treated as wide character buffers. See the attached s

[issue5119] inconsistent wide character parameter handling in 64-bit python

2009-01-31 Thread Jason R. Coombs
New submission from Jason R. Coombs : Using Python 2.5.4 and Python 2.6.1 on 32-bit python, when passing a regular string to a function expecting pointer to a wide string (wintypes.LPCWSTR), the function executes without problems. When calling the same using Python 2.6.1 on 64-bit windows, the c