[fpc-pascal] Raise exception in libray which will not halt host application

LacaK lacak at zoznam.sk
Thu Aug 26 08:08:37 CEST 2021


Hello,
is there way how to raise exception in library without using SysUtils?
Now I call System.RunError() in case unexpected situation occurs in 
library (DLL), but this exits also application which links library.
Is there way how to exit library in a way that application can catch 
exception (without SysUtils).
If there is Windows call which can be used it is sufficient, as library 
is Win64 only.
Thanks
-Laco.


More information about the fpc-pascal mailing list