Error on get_driver_instance();
Luis Silva Wrote:
-------------------------------------------------------
> Hi Dani,
>
> Just add the Dnsapi.lib to the link libraries.
>
> Cheers,
> Luís Silva
Thank you! Now I have a runtime error.... My program stops when calling
"An external component caused an exception":
The error seems to happen when I call driver = get_driver_instance(); in driver.h, this function:
inline static sql::Driver * get_driver_instance_by_name(const char * const clientlib)
{
check_lib();
return _get_driver_instance_by_name(clientlib); -> This line crashes.
}
Any idea? I'm using Visual Studio 2019 Enterprise, debug x64, static connector (debug 64 bits library).
Subject
Views
Written By
Posted
1151
January 16, 2021 08:58AM
609
February 04, 2021 09:00AM
443
February 04, 2021 09:26AM
467
June 12, 2021 03:55PM
496
June 14, 2021 03:24AM
Error on get_driver_instance();
1090
June 15, 2021 12:28PM
657
June 21, 2021 08:27AM
659
June 21, 2021 10:29AM
684
June 22, 2021 04:32AM
641
June 24, 2021 03:38PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.