Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing a Pointer as an argument #125

Open
pain0LY opened this issue Aug 28, 2022 · 0 comments
Open

Passing a Pointer as an argument #125

pain0LY opened this issue Aug 28, 2022 · 0 comments

Comments

@pain0LY
Copy link

pain0LY commented Aug 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant