[issue29131] Calling printf from the cdll does not print the full string

2017-01-02 Thread mike peremsky
mike peremsky added the comment: I appreciate the feedback, but as I had originally mentioned. I am following the "Gray Hat Python - Python Programming for Hackers and Reverse Engineers" book and was attempting to use Python 3 instead of Python 2 (as was used in the book). The

[issue29131] Calling printf from the cdll does not print the full string

2017-01-01 Thread mike peremsky
New submission from mike peremsky: I am going throught he Gray Hat Python book and installed Python 3.7 (32-bit) on a windows x64 machine. The following code will only print the first character of the passed string argument. The same code run on Python 2.7 will print the correct string value