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 


About VirtualProtectEx..

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

Joined: 19 Dec 2011
Posts: 23

PostPosted: Sun Feb 26, 2012 1:43 am    Post subject: About VirtualProtectEx.. Reply with quote

Hi, I am a person to wonder about VirtualProtectEx.
I tried virtualprotectex like this,

var Old, Address:DWORD;
begin
Address:=StrToInt('$'+Edit1.text);
VirtualProtectEx(GetCurrentProcess, Pointer(Address), 4, PAGE_NOACCESS, Old); // In DLL
end;

It was successful but the process froze.
I use PAGE_NOACCESS because I wan't to get Exception BreakPoint.
PAGE_READONLY was same. and PAGE_GUARD didn't freeze process but didn't get Exception BreakPoint.
In fact, I tried Memory BreakPoint.
so How can I unfreeze the process with PAGE_NOACCESS ??
thanks for reading.
Back to top
View user's profile Send private message
Kavvman
Master Cheater
Reputation: 2

Joined: 17 Apr 2004
Posts: 316

PostPosted: Sun Feb 26, 2012 3:05 am    Post subject: Reply with quote

Why are you using VirtualProtectEx if you're gonna change the current process permissions. Use VirtualProtect() instead.
_________________
...
Back to top
View user's profile Send private message
JWP Programs
Newbie cheater
Reputation: 0

Joined: 19 Dec 2011
Posts: 23

PostPosted: Sun Feb 26, 2012 3:27 am    Post subject: Thanks but.. Reply with quote

Thanks but,,
the point of my question isn't it..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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