Hi, I'm trying to add some new threads on a normal autoit executable
I found that the only way to do that is to use guiregistermsg and an internal message code
So I made this piece of script:
#Include <WinAPI.au3>
#include <WindowsConstants.au3>
Global $mymsg=_WinAPI_RegisterWindowMessage("MyNewMsg")
Global $uiui=GUICreate("uuu")
GUIRegisterMsg($mymsg,"lol")
Func lol($a,$b,$c,$d)
MsgBox(0,$c,$d)
EndFunc
Sleep(1000)
_WinAPI_PostMessage ($uiui,$mymsg,"Hello","uuu")
While 1
;.....................................
WEnd
But msgbox displays only 0x000000000000