import ctypes
dll = ctypes.windll.LoadLibrary("C:/test/test.dll")
in_keyinfo = ctypes.c_char_p()
in_keyinfo.value = sInputInfo
out = ctypes.create_string_buffer(1000000)
dll.PostAndRecvEx(in_keyinfo, out)
print(out.value)
這樣寫對嗎?debug除錯,加載dll都過不去,程式就結束了,控制層最后列印
Process finished with exit code -1073740791 (0xC0000409)
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/105020.html
上一篇:python問題求解決
下一篇:小白求教
