Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
Altering another process Posted by Joe Fabian on 22 Nov 1999 at 10:20 PM
This weekend I found a really cool game utility that searched for and CHANGED memory values for games while they were running. It was even able to monitor certain values, like health points, and immediately restore them after they were changed by the game. <p>
I'm dying to know how this is done! I didn't think values in one processes could be directly changed by another process in Windows 98. I was always told that trying to do so would generate a GPF for sure. <p>
Anyone have an idea how to do this? <p>
Thanks, <br>
Joe


Edit Report
Re: Altering another process Posted by moonshadow on 23 Nov 1999 at 1:17 AM
Well, you can subclass any window using a system wide hook that resides inside a DLL. Your DLL will be called "within" the address space of the hooked window/app and you can change whatever you want. This works in 95/98/NT.<br>
So one can write a utility that finds the app's main window (every WIN32 app has one!) subclass it<br>
and then do its doos...<br>



Edit Report
Re: Altering another process Posted by Joe Fabian on 24 Nov 1999 at 8:00 PM
Wow, that makes great sense. I had thought of the dll angle but couldn't think of a way to have it called by the application. Subclassing is a great idea, Thanks!!<p>
<p>
: Well, you can subclass any window using a system wide hook that resides inside a DLL. Your DLL will be called "within" the address space of the hooked window/app and you can change whatever you want. This works in 95/98/NT.<br>
: So one can write a utility that finds the app's main window (every WIN32 app has one!) subclass it<br>
: and then do its doos...<p>






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.