WSCPorts Posted November 3, 2005 Share Posted November 3, 2005 (edited) hi again i was wondering if subclassing a hWnd or control on a hWnd is possible from autoit? or maybe even SuperClassing? anyone has any advice or help or examples it would be a greate help.. ive been doing some reading and have a nice list of API's that have been semi tested and i would like to start putting them to use with a game ive been playing this game has some of the craziest protectection ive ever seen...(some of which i describe in nufflienes thread andsome one elses DDMA... Bah... but ive already managed to getHandles and Bot to a certain extent but if i could SubClass or better yet superclass the windows and find the swing msg and hit msg i plan to Spam them to each coord on the screen and pwn the game that way made a mad attempt at it but i still cant get the basics to work properly any help would be uterrly appreciated Func GetClassInfo( $hInstance, $lpClassName, $lpWndClass) $ret = DllCall("User32.dll", "int", "GetClassInfo", "int",$hInstance, "str",$lpClassName, "ptr",$lpWndClass) If @error Then SetError(1) Return 0 EndIf Return $ret EndFunc ;typedef struct { ; UINT style; ; WNDPROC lpfnWndProc; ; int cbClsExtra; ; int cbWndExtra; ; HINSTANCE hInstance; ; HICON hIcon; ; HCURSOR hCursor; ; HBRUSH hbrBackground; ; LPCTSTR lpszMenuName; ; LPCTSTR lpszClassName; ;} WNDCLASS, *PWNDCLASS; $WNDCLASS = "uint;int;int;int;ptr;ptr;ptr;char[128];char[128];" $sWNDCLASS = DllStructCreate($WNDCLASS) $pWNDCLASS = DllStructGetPtr( $sWNDCLASS ) $Handle = WinGetHandle("Google") GetClassInfo($Handle, "IEFrame", $pWNDCLASS) sleep(5000) MsgBox(0, "", $sWNDCLASS) Edited November 4, 2005 by WSCPorts http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32] Link to comment Share on other sites More sharing options...
WSCPorts Posted November 5, 2005 Author Share Posted November 5, 2005 *bump* again any help would be apreciated http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now