Witam !
Mam taki problem że przy pisaniu pierwszego programu oknienkowego w FASM od razu nie działają polskie znaki.
Mój kod:
format PE GUI 4.0
entry start
include "INCLUDE\win32a.inc"
section '.data' DATA readable writeable
_error_text db "Przepraszamy wystąpił nieoczekiwany error!!!",0
_error_text_up db "Error",0
section '.code' CODE readable executable
start:
error:
invoke MessageBox, 0, _error_text, _error_text_up, MB_ICONERROR + MB_OK
exit:
invoke ExitProcess, 0
section '.import' IMPORT readable
library kernel, "KERNEL32.DLL",\
user, "USER32.DLL", \
gdi, "GDI32.DLL"
import kernel,\
GetModuleHandle, "GetModuleHandleA",\
ExitProcess, "ExitProcess"
import user,\
MessageBox, "MessageBoxA"
Zamiast "ą" mam A i ":" na gurze