How to interface with MySql 9.6?

Adam D. Ruppe destructionator at gmail.com
Fri Feb 20 22:18:32 UTC 2026


On Friday, 20 February 2026 at 21:31:09 UTC, realhet wrote:
> I'm now trying to use arsd.mssql.
>
> And the linker requires the following libs:

mssql uses ODBC which is a system lib and it might be linked 
against a different C runtime than Phobos. OpenD tried to fix 
this buy consistently using the ucrt but upstream.... well, ldc 
usually does the right thing, it is more dmd opend had to fix. 
And I  see you're using ldc so idk, but the only lib you should 
be specifying is odbc32 (which my module will do with 
pragma(lib)), do not specify the other urct, etc ones, leave that 
to the system, and MAYBE it'll help, idk though.


> Deprecation: module `etc.c.odbc.sql` is deprecated - The ODBC 
> 3.5 modules are deprecated. Please use the ODBC4 modules in the 
> `etc.c.odbc` package.
> Deprecation: module `etc.c.odbc.sqlext` is deprecated - The 
> ODBC 3.5 modules are deprecated. Please use the ODBC4 modules 
> in the `etc.c.odbc` package.


well this is upstream doing upstream things i guess, they love 
breaking perfectly working code every other release.


More information about the Digitalmars-d-learn mailing list