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 


FreeLibrary

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
dEagle
Expert Cheater
Reputation: 0

Joined: 17 Jun 2006
Posts: 225
Location: CheatEngine Forum

PostPosted: Fri Nov 21, 2008 10:28 am    Post subject: FreeLibrary Reply with quote

I know that LoadLibrary function is supported by AA,
Is there a function to unload the DLL?
for example FreeLibrary @ Kernel32
Or do i have to call it by using assembly?
push filename
call FreeLibrary? if that even works.

Since i have a DLL that i want to load and unload whenever i use a hotkey, using AA.

Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Fri Nov 21, 2008 8:10 pm    Post subject: Reply with quote

nope, no freelibrary. Just do freelibrary in your own dll (one that polls a specific address in a seperate thread that the disable part can set to 1 on disable)

also, if this is because you're concerned about memory loss. You can call loadlibrary as often as you want and it'll only allocate the memory once
So if you have a codeinjection that jumps to a routine in your dll, there's no big problem with loading the same dll over and over.

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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