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 


How to call cheat engine functions from your injected dll ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Mohsen
Advanced Cheater
Reputation: 1

Joined: 04 Apr 2013
Posts: 69
Location: PE

PostPosted: Sat Apr 06, 2013 1:26 am    Post subject: How to call cheat engine functions from your injected dll ? Reply with quote

Question is wrote on topic subject.
Need a way to call AutoAssembler or any cheat engine function from my injected dll.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sat Apr 06, 2013 2:13 am    Post subject: Reply with quote

Try to find a copy of ceautoassembler.dll or build you own from CE's source code, then make your dll load ceautoassembler.dll.
A link to this dll can be found here: http://forum.cheatengine.org/viewtopic.php?t=519585 though it's 3 year old and I don't know how buggy it is.
Searching this forum may yield a more up to date version.
Back to top
View user's profile Send private message
Mohsen
Advanced Cheater
Reputation: 1

Joined: 04 Apr 2013
Posts: 69
Location: PE

PostPosted: Sat Apr 06, 2013 3:50 am    Post subject: Reply with quote

Gniarf wrote:
Try to find a copy of ceautoassembler.dll or build you own from CE's source code, then make your dll load ceautoassembler.dll.
A link to this dll can be found here: forum.cheatengine.org/viewtopic.php?t=519585 though it's 3 year old and I don't know how buggy it is.
Searching this forum may yield a more up to date version.


What about debugging and other methods ?
There should be a way to use CE functionality in the injected dll..
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sat Apr 06, 2013 4:32 am    Post subject: Reply with quote

I suppose you could build you own messaging system between CE and your dll. Something like exporting a variable from your dll and putting a timer in CE that will periodically read Mydll.dll.MyExport.
You could also do a plugin (dll) for CE and post messages to that plugin.
But anyway, afaik CE is not meant to be directed by another process.

Also remember that when a debugger breaks execution, it stops all threads, including those in your injected dll. Who's going to give orders to CE then?
Back to top
View user's profile Send private message
Mohsen
Advanced Cheater
Reputation: 1

Joined: 04 Apr 2013
Posts: 69
Location: PE

PostPosted: Sat Apr 06, 2013 4:35 am    Post subject: Reply with quote

Gniarf wrote:

Also remember that when a debugger breaks execution, it stops all threads, including those in your injected dll.


LOL good point !
Gave up on this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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