Is it possible to use OnError commands inside dll? If yes, where to put OnErrorCall(@ErrorHandler()) line, at start of each procedure in dll or in AttachProcess() procedure?
Thanks
OnError Lib + Shared DLL
Re: OnError Lib + Shared DLL
same question with purebasic v5.00 (i know that latest is v5.22 but i don't have time to update now!), i try to use onerrorcall inside AttachProcess and external, but not work, dll crash with standard windows error! any solution about this ?
Re: OnError Lib + Shared DLL
join, same question and problem (((
site created by purebasic work-flow-Initiative
Re: OnError Lib + Shared DLL
hm...
PureHelp:
PureHelp:
ok... it works!When using the OnError library inside a DLL the best practice is to set the error handler at the beginning of every public DLL function and resetting it back to the default with this command before returning to the caller to make sure there is no interference between the OnError library and any exception handling done by the calling program.
site created by purebasic work-flow-Initiative