Ok, now I get it. Thanks for the explanations!
--
Vasiliy Yashkov
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
On 4/11/22 17:56, Dimitry Sibiryakov wrote:
Vasiliy Yashkov wrote 11.04.2022 16:52:
What is the right way to throw an exception?
Plugins (as any other DLL) is not supposed to throw exceptions ever.
Yes, throwing directly (like in your code) is impossible. But there is a
way to return an
Vasiliy Yashkov wrote 11.04.2022 16:52:
What is the right way to throw an exception?
Plugins (as any other DLL) is not supposed to throw exceptions ever.
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
Hi All!
I have a simple external plugin that throws an exception:
#include "firebird/Interface.h"
using namespace Firebird;
extern "C" void FB_DLL_EXPORT FB_PLUGIN_ENTRY_POINT(IMaster* master)
{
const auto status = master->getStatus();
ISC_STATUS vector[] = {
isc_arg_gds, isc_random, isc_arg_