делаю очередное окно. но фасм не хоч компилить его - 'undefined simbol',-говорит на GetModuleHandle ,хотя я ее определил в импорте .обьясните пожалуйста што за черт? Код (Text): format PE GUI 4.0 entry start include 'c:\program files\fasmw167\include\win32a.inc' section '.data' data readable writeable class db 'class',0 caption db 'Caption',0 wc WNDCLASS 0,windowproc,0,0,NULL,NULL,NULL,COLOR_BTNFACE+1,NULL,class msg MSG section '.code' code readable executable start: invoke GetModuleHandle,0 mov [wc.hInstance],eax invoke LoadIcon,0,IDI_APPLICATION mov [wc.hIcon],eax invoke LoadCursor,0,IDC_ARROW mov [wc.hCursor],eax invoke RegisterClass,wc invoke CreateWindowEx,0,class,caption,WS_VISIBLE+WS_OVERLAPPEDWINDOW,\ 100,100,300,200,NULL,NULL,[wc.hInstance],NULL itsLoop: invoke GetMessage,msg,NULL,0,0 cmp eax,0 je .exit invoke TranslateMessage,msg invoke DispatchMessage,msg jmp itsLoop .exit: invoke ExitProcess,[msg.wParam] proc windowproc hwnd,wmsg,wparam,lparam push edi esi ebx cmp eax,WM_DESTROY je .destroy invoke DefWindowProc,[hwnd],[wmsg],[wparam],[lparam] jmp finish .destroy: invoke PostQuitMessage,0 xor eax,eax finish: pop ebx esi edi ret endp section '.idata' import data readable writeable library kernel32,'KERNEL32.DLL',user32,'USER32.DLL' import kernel ,ExitProcess,'ExitProcess',\ GetModuleHandle,'GetModuleHandleA' import user,RegisterClassEx,'RegisterClassA',\ CreateWindowEx,'CreateWindowExA',\ DefWindowProc,'DefWindowProcA',\ GetMessage,'GetMessageA',\ PostQuitMessage,'PostQuitMessage',\ LoadCursor,'LoadCursorA',\ LoadIcon,'LoadIconA',\ TranslateMessage,'TranslateMessage',\ DispatchMessage,'DispatchMessageA' спасибо.