Generally, you should not let exceptions escape from your library. Delphi exceptions map to the OS exception model
(including the .NET exception model)..
If a library does not use the
SysUtils
unit, exception support is disabled. In this case, when a runtime error occurs
in the library, the calling application terminates. Because the library has no way of knowing
whether it was called
from a Delphi program, it cannot invoke the application's
exit procedures; the application is simply aborted and
removed from memory.
Dostları ilə paylaş: