digitalmars.D - Re: Database connection...
- Nahon <lburger hu.tesco-europe.com> Oct 30 2006
- "JC" <johnch_atms hotmail.com> Oct 30 2006
I know what you're saying, but how is it supposed to know where your files are located?
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. :)
Oct 30 2006
"Nahon" <lburger hu.tesco-europe.com> wrote in message news:ei5509$17rk$1 digitaldaemon.com...I know what you're saying, but how is it supposed to know where your files are located?
find them some of these places or send an error message. But for the last, not without searching. :)
Perhaps the compiler could read the PATH environment variable, and then have an option to do a recursive search for .d files on that path. But that would compile everything it found, which often is not what you want.
Oct 30 2006