[python-win32] Re: win32file and win32pipe
rwupole at msn.com
Tue Apr 20 21:16:52 EDT 2004
I took a look at the code for win32file.WriteFile, and it's not even using
its own buffer for strings. It passes the internal buffer from the Python
object. However, it's doesn't include the trailing null byte in the data
length. Do you know if the receiving app is expecting it ? If so, you
could try appending a \0 to the strings you're passing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-win32