ich habe folgendes Problem:
Ich versuche per DllCall "FreeLibrary" die dx9_overlay API von agrippa aus einem Prozess zu unloaden.
Jedoch bekomme ich nicht den gewünschten Effekt.
Per LoadLibrary läd die Dll immer beim includen der API, nur wie schon erwähnt funktioniert FreeLibrary halt nicht.
Code: Select all
PATH_OVERLAY := RelToAbs(A_WorkingDir, "dx9hook.dll")
hModule := DllCall("LoadLibrary", "Str", PATH_OVERLAY, "Ptr")
Code: Select all
Close:
DllCall("FreeLibrary", "Ptr", hModule)
return