> help figuring out how to debug ... ctypes ... > a commercial dll. A certain function takes five arguments, foo(a, b, c, d, > e). > Can I view the appropriate stack? ... Any other ideas or advice? etc?
Did you call the foo of _cdecl ctypes.cdll or the foo of _stdcall = ctypes.windll? What is the sizeof each argument type? Preferably fetched by compiling some C to printf them? Would it help to call C in another Dll to return the stack pointer, so Python could print the stack? -- http://mail.python.org/mailman/listinfo/python-list