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 


Vista Sucks
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Jan 05, 2010 7:57 pm    Post subject: Reply with quote

iPromise wrote:
Slugsnack wrote:
your virtualallocex() fails


It works fine, I double checked with CE, its the file path is written to the address. Its CreateRemoteThread() thats the problem.

I also changed it to this

Code:

VirtualAllocEx(hProcess, NULL, DllPath.size(), MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);

just saying i compiled and stepped with olly and VirtualAllocEx returned 0
Back to top
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Tue Jan 05, 2010 8:09 pm    Post subject: Reply with quote

@Slugsnack

Was Notepad open at the time when u debugged it?
Back to top
View user's profile Send private message MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Jan 05, 2010 8:40 pm    Post subject: Reply with quote

obviously it was otherwise i would've told you the FindWindow call failed instead
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Wed Jan 06, 2010 6:09 am    Post subject: Reply with quote

Slugsnack wrote:
obviously it was otherwise i would've told you the FindWindow call failed instead


pwned Razz, but i don't see whats wrong with his VirtualAllocEx?
Back to top
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Wed Jan 06, 2010 9:07 pm    Post subject: Reply with quote

Neither do I.
Back to top
View user's profile Send private message MSN Messenger
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Thu Jan 07, 2010 7:01 am    Post subject: Reply with quote

iPromise wrote:
Neither do I.


Btw, by doin strlen, you get the size excluding the ending \0, do strlen()+1, though this shouldnt be the cause of it not working, since the allocated memory is very often followed by 00's
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 programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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