Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Hi again ,cannot get WriteProcessMemory to work in c#

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
denismu321
Newbie cheater
Reputation: 0

Joined: 24 Dec 2018
Posts: 20

PostPosted: Sat May 29, 2021 4:13 am    Post subject: Hi again ,cannot get WriteProcessMemory to work in c# Reply with quote

I have already posted a question related to this one
in the General Programming Thread.

I have tried to change the Protection from PAGE_READWRITE to
PAGE_READWRITE_EXECUTE ,but to no success.
Strangely GetLastWin32Error returns 0 ,which is success I think.
Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Wed Jun 02, 2021 9:05 pm    Post subject: Reply with quote

There is no need to make multiple topics for the same issue, just continue posting in the first in the future.

You should debug your full app and walk through each part, see if anything else is failing and returning a bad value. If GetLastWin32Error is returning 0, are you certain WriteProcessMemory is actually failing?

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites