-
Notifications
You must be signed in to change notification settings - Fork 44
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
Process Module Base Address not Being Obtained #6
Comments
I think I saw another C++ library that was similar to this one, but I can't find it anymore. Did you run your program with admin privileges? |
Yes, I have tried running as admin, and yes I have a process called |
You should check |
|
I think the error comes from
Try if one of these fix the issue. More info on EnumProcessModulesEx can be found here: https://docs.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-enumprocessmodulesex I think it's possible that |
I tried doing this, but it kept yelling at me about |
That's weird. You might have to install a newer version of the Windows SDK and then maybe also tell GCC to use that newer version if that doesn't happen automatically. |
I tried looking into doing that, but I couldn't quite figure out how. Is there a guide for that that you could point me to by any chance? |
I think you just need to download an SDK installer and then install it. But it might depend on what version of Windows you use and how you have installed GCC. |
So I've been tinkering with stuff trying to get this to work for a while, and I decided to have it output the current debug privelege value to the console, and apparently it's failing to set the proper priveleges. I also went in and uncomment the line |
So I'm trying to use this module, (specifically the GCC branch) and whenever I try to use the GetModuleBase function, it always returns -1. I have tried it with the example2 program, and it still has the same issue. If this is just me being dumb, please let me know, and if you don't feel like fixing it, do you have any other modules that you could recommend to use instead of this one?
The text was updated successfully, but these errors were encountered: