Maratyszcza/PeachPy

Passing a Pointer as an argument

pain0LY opened this issue · 0 comments

Hi im getting the error:

TypeError: <class 'main.LP_INPUT'> is not a C type

if I need to pass a pointer to a struct. I have successfully defined the struct and it also works if I call the function from user32 dll.
But I can not get it working with peachpy.

Please check the attached screenshot.
Would be insane if someone can figure that out.

Best
Screenshot_8
t