On Monday, 10 November 2014 at 20:37:51 UTC, Charles wrote:
For anyone in the future: I needed odbc32.lib, so I created the
following odbc32.def and used implib.
Thanks me.
My computer I was using recently died, and ran into this problem
again when getting everything set up. Is there any
Hi guys,
I've been looking and haven't found any libraries for ODBC or
MSSQL. I saw some for D v1, but nothing for v2. Anyone know of
any, or anyone know of a tutorial that I could use to create this
myself?
Thanks,
Charles
I kinda slapped one together but idk if it actually works.
https://github.com/adamdruppe/arsd
database.d and mssql.d from that repo. I haven't even tried to
compile it for a while though, so it might not work at all.
The way I made it was to write the extern(C) function
declarations and
On Monday, 10 November 2014 at 16:01:21 UTC, Charles wrote:
Hi guys,
I've been looking and haven't found any libraries for ODBC or
MSSQL. I saw some for D v1, but nothing for v2. Anyone know of
any, or anyone know of a tutorial that I could use to create
this myself?
Assuming you're using
Oh, here's a sample, since it doesn't look like that zip includes
one:
import sql.Connection;
import sql.Exception;
import sql.ResultSet;
import sql.Statement;
import core.stdc.stdio;
pragma( lib, odbc32.lib );
pragma( lib, sql.lib );
void main()
{
try
{
auto conn = new
I kinda slapped one together but idk if it actually works.
https://github.com/adamdruppe/arsd
database.d and mssql.d from that repo. I haven't even tried to
compile it for a while though, so it might not work at all.
The way I made it was to write the extern(C) function
declarations and
On Monday, 10 November 2014 at 18:13:58 UTC, Adam D. Ruppe wrote:
On Monday, 10 November 2014 at 17:57:21 UTC, Charles wrote:
It didn't compile, says, mssql.d(12): Error: module sql is in
file 'win32\sql.d' which cannot be read
Oh, I forgot I used those. You can download the win32 folder