ctypes return char array with null chars
booog35 at gmail.com
Mon Apr 19 05:29:05 EDT 2010
I am passing a ctypes struct byref to a dll. When I get the struct
back, it looks like the char array in the struct was truncated at the
first null char. It should be 192 bytes long, but I know the 3rd
through 6th byte are null chars and the array was truncated right
before byte 3.
Is there any way to get the full array back including null chars?
More information about the Python-list