![]() |
Delphi programming help...
Hi, I'm new to these forums.
I need some help, I am making a game trainer in Delphi and having a problem writing the correct value to a processes memory. Here is some souce: Code:
varCode:
WriteProcessMemory(HandleWindow,ptr(Address),buf,NumberOfBytes,write);Any help is greatly appreciated. |
Re: Need Help? Call us!
This forum isn't really for Delphi programming. We (ChiefDelphi) are a FIRST Robotics team, sponsored by Delphi. These forums are here for discussion of the FIRST Robotics competition. Someone here may be able to help you out, but you may want to look elsewhere for more comprehensive Delphi programming help.
|
Re: Need Help? Call us!
I'm not really sure what this is doing in this thread, but here's the problem:
Code:
Const The solution is to set the second byte of the buffer to zero before writing it. That means you'll have to make your buffer two bytes long, too. |
Re: Delphi programming help...
Thank you for the help Alan.
And I am sorry for the misunderstanding of what these forums are for. |
| All times are GMT -5. The time now is 02:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi