#NoEnv
SetWorkingDir %A_ScriptDir%
OnExit, ExitSub
hMod := DllCall("LoadLibrary", Str, "hyde.dll", Ptr)
module2 := DllCall("GetProcAddress", Ptr, hMod, AStr, "CBProc", ptr)
hHook := DllCall("SetWindowsHookEx", Int, 5, Ptr, module2, Ptr, hMod, Ptr, 0, Ptr)
MsgBox, Process hidden
Return
Esc::ExitApp
ExitSub:
if (hHook)
DllCall("UnhookWindowsHookEx", Ptr, hHook)
if (hMod)
DllCall("FreeLibrary", Ptr, hMod)
ExitApp
(solved)this script not works on basic ?
Started by
Klark92
, Apr 15 2012 09:55 AM
2 replies to this topic
#1
Posted 15 April 2012 - 09:55 AM
why it's not working ?
#2
Posted 15 April 2012 - 01:28 PM
It looks like it's written for AutoHotkey_L, maybe 64bit, but I'm not sure.
See Script Compatibility for details on converting it. Little things like this, will tell you how to make it work.
See Script Compatibility for details on converting it. Little things like this, will tell you how to make it work.
Note that "UInt" must be used in place of "Ptr" in AutoHotkey Basic, but the resulting code may not be 64-bit compatible.
#3
Posted 15 April 2012 - 05:36 PM
yeah thanx I translated then it works .. thanks again ^^




