If I could just interject, How to build fpc with -dTEST_WIN64_SEH ? I've fpc/lazarus daily snapshoot, does -dTEST_WIN64_SEH in "project options"->"compiler options"->"other" will be enough for SEH support ? best regards tomek