Joined: 17 Jun 2006 Posts: 225 Location: CheatEngine Forum
Posted: Fri Nov 21, 2008 10:28 am Post subject: FreeLibrary
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.
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
Posted: Fri Nov 21, 2008 8:10 pm Post subject:
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
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