On Thu, 26 Aug 2021, LacaK via fpc-pascal wrote:
Hello, is there way how to raise exception in library without using SysUtils?
Raise TMyObject.Create() Where TMyObject does not descend from Exception. Sysutils is needed for the definition of the Exception class, and because it installs some runtime error to exception conversion hooks, but you can perfectly use exceptions without using the sysutils unit. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal