Quote:
Originally Posted by aocunderground
Code:
foreach (ProcessModule module in aionProcess.Modules)
{
if (module.ModuleName == "Game.dll")
{
IntPtr gameBaseAddress = module.BaseAddress;
break;
}
}
ModuleName *may* strip off the extension, I can't remember, so it might be "Game" not "Game.dll".
|
No it doesn't work like that, if you aren't debugging or running x64 Vista or greater you wouldn't see this...Thanks for the code and attempted helping.
Quote:
Originally Posted by GTxFinish
He's right, it doesnt find game.dll module. I am also running x64, and when debugging it only shows a handful of Aion's process Modules (maybe like 10% of what there actually is).
Hey RevivedSoulReaver, how did you work around this? Did I read your post wrong or did you figure out how to detect game.dll?
Thanks,
Fnsh
|
Yes, i have fixed/worked around this. It isn't hard, just need to know what to google it is also important to understand how windows x64 handles 32 bit processes. I recommend googling around with wow64 (one of the 5 dlls returned from x64 processes) and you'll find out about it. You see you get the main process and then the x64 dlls that allow the process to work.
Note there isn't any C# for this you'll be using DllImport...good luck dude
I hope this points you in the right direction.