When I single step over the following code, i get stuck at WaitForSingleObject. Why does that happen?
.code
start:
INVOKE CreateThread, NULL, NULL, OFFSET Thread, ESP, NULL, ESP
push eax
invoke WaitForSingleObject ,eax,INFINITE
POP EAX
INVOKE CloseHandle, EAX
invoke MessageBox, NULL,addr MsgBoxText, addr MsgCaption, MB_OK
invoke ExitProcess,NULL
Thread PROC
RET
Thread ENDP





