So I am basically new to python ctypes and I have little or no knowledge on C programming or any none python language...but I have a solid understanding of the dll
protocol and working...so I made this call into a dll file to access a printf
and then use it....my result came out oddly and not as expected....can anyone help explain what is happening here ...here's my code
From ctypes import *
msvcrt = cdll.msvcrt
message_string = "Hello World! \n"
msvcrt.printf("Testing: %s", message_string)
And here is my result
1