We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

ArchiCAD 16 Project ODBC Driver

ReignBough
Enthusiast
I got the following debug log error message from SQLDriverConnect() function:
QEODBCP: Loading QEODBC driver: C:\Program Files\Graphisoft\ArchiCAD 16 Project ODBC Driver\QEODBC.dll ...
The following system error occured while executing CDatabaseProvider::CDatabaseProvider : The specified procedure could not be found. 
--- Exception occured ----------------------------------------------------------
 
qe::odbc::CDatabaseProviderException
--- Details --------------------------------------------------------------------
 Location :
  
F:\VMWD\WrightPatch.FULL.WIN64\Sources\Listing\QEODBC\QEODBCDLL\qe\odbc\DatabaseProvider.cpp
(
193
)
 Error description :
  
Failed to get the database provider DLL.
Here is how I call it:
retcode = SQLDriverConnect(hDbc, NULL, ConnStr, SQL_NTS, RetConnStr, SQL_NTS, NULL, SQL_DRIVER_NOPROMPT);
Here is the return of SQLGetDiagRec() function:
SQLSTATE: HY000
MESSAGE: [Graphisoft][QEODBC]Failed to load database provider 'ArchiCAD 16 Project ODBC Driver'.
Help anyone?

Also, is there a way to connect to the current project so that you don't have to put value for PLN_full_path?

Edit:
Windows 7 64 bits
Visual 2010 Express - C++ (in debug x64)
ArchiCAD-64 16
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
0 REPLIES 0