in datadef.py on line 109, a little more effiecent and error free way of handling the result string would be val = ptr[:256].decode('ascii', errors='replace').split("\x00")[0] Thank you so much for getting Strngs to work though - great stuff!