PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Why this handle are differnt: SysInstance() <> GetWindowLongA()
Why this handle are differnt: SysInstance() <> GetWindowLongA()
Iniciado por satmax, 26,nov. 2016 10:02 - No hay respuesta
Miembro registrado
10 mensajes
Publicado el 26,noviembre 2016 - 10:02
sName is string=ExeInfo(exeName)
hAppInstance= SysInstance(sName) // returns 4194304


is differnt to

hWinMain=Handle()
hAppInstanceAPI = API("USER32","GetWindowLongA",hWinMain,(-6)) // #define GWL_HINSTANCE Returns 621150208