Database connection...

Nahon lburger at hu.tesco-europe.com
Mon Oct 30 07:16:25 PST 2006


>I know what you're saying, but how is it supposed to know where your files
>are located?
There are specified paths and a current directory... I think it should find
them some of these places or send an error message. But for the last, not
without searching. :)

>You haven't linked in the odbc import library. Specify "odbc32.lib" on the
>command line. Alternatively, in one of your modules, add the following:
>
>    pragma(lib, "odbc32.lib");
>
>An import library comes with the linker and utilities package from the
>website (http://ftp.digitalmars.com/dmc.zip). But I'm not sure if the one
>that version will work, because it's very old. If you have the latest
>Platform SDK, you can copy odbc32.lib from there into your dm\lib folder,
>and then run coffimplib (ftp://ftp.digitalmars.com/coffimplib.zip) on it to
>make it compatible with DMD.

Thanks, I'll try it. :)



More information about the Digitalmars-d mailing list