Sign in to follow this  
Followers 0
LOULOU

DLLCALL AND GETCLASSNAME

2 posts in this topic

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



http://msdn.microsoft.com/library/default....etclassname.asp

Return Value

If the function succeeds, the return value is the number of TCHAR copied to the specified buffer.

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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  
Followers 0