yes the problem is in my dialogproc
proc DialogProc, hwnddlg, msg, wparam, lparam
begin
push ebx esi edi
mov eax, [msg]
cmp eax,WM_COMMAND
je wmcommand
cmp eax,WM_DESTROY
je wmdestroy
xor eax,eax
jmp finish
it says ERROR! the argument 'hwnddlg' MUST begins with dot then when i add dots to the arguments it says if .__info.frame undefined symbol at begin
Because you can't use global labels inside procedure - I mean your "finish", "wmdestroy", etc. use ".finish", ".wmdestroy" instead.
Arguments and local variables must begin with dot also.
Regards.