Jump to content
Sign in to follow this  
LOULOU

DLLCALL AND GETCLASSNAME

Recommended Posts

LOULOU

Here is my calling with DLLCALL :

$hwnd = WinGetHandle("","")
Msgbox(0,"",$hwnd)


$result = Dllcall("user32.dll","int","GetClassname", "hwnd" ,$hwnd,"str","","long",32768 ) 

msgbox(0, "", $result[0]); number of chars returned
msgbox(0, "", $result[1]); Text returned in param 2
msgbox(0, "", $result[2]); number of chars returned
msgbox(0, "", $result[3]); Text returned in param 2

This function don't execute with an error message

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×