TSQLServer* srv = TSQLServer::Connect(“odbcn://ERT6”,0,0) works well under ROOT 5.34/32 and returns a valid pointer, the same command returns a nullptr under root 6.24/06.
Has the syntax changed?
Hi Sergey,
I downloaded a pre-compiled binary distribution of root 6.24/06. I tried to connect with the SQL server in an interactive session (see screen shots above).
I could not find libRODBC.dll in C:\root_v6.24.06\bin
Thanks for your help!
Best regards,
Reiner
Means to get ODBC functionality in ROOT6, you need to compile from source, enabling -Dodbc=ON. Most probably, you will need to install windows ODBC library and correspondent include files.