On 23/03/2023 09:25, Bo Berglund via fpc-pascal wrote: > > Then opened Lazarus 2.2.4 with my project and changed project options as > follows: > > Compiler_Options/Config_and_Target/Target OS(-T): Win32 > > Everything else left as-is. You need to change the CPU to i386 too