Thanks, but 1. problem is still appears. See into the rtl/win32/makefile, rtl/win64/makefile, rtl/win32/makefile.fpc and rtl/win64/makefile.fpc and search: fpcmemdll.exe. Gabor