Hi,

I have been testing out with editbox created with CreateWindow. Somehow when i select my edit box, my program will automatically close. Any one has any idea for the weird results. I have attached my source for some viewing.
Posted on 2002-11-09 00:00:29 by roticv
[size=9]

wmcommand:
........
........
.elseif eax == ID_HELPCREDITS
invoke MessageBox,hwnd,OFFSET Credits, OFFSET szCredits,0
jmp Ret0
.endif
[color=red]
<- Error: Se description below..
[/color]
wmclose:
;File handles not closed
.if FileOpen != 0
invoke UnmapViewOfFile, pMapping
invoke CloseHandle, hMapping
invoke CloseHandle, FileHandle
.endif
invoke PostQuitMessage, 0
jmp Finish
[/size]
Posted on 2002-11-09 00:41:48 by natas
My mistake... I just happened to overlook that code processing the WM_COMMAND. hahaha... i coded that part a few months back, when I was newer to asm.
Posted on 2002-11-09 02:09:18 by roticv