[freetds] Noobie, please help!
James K. Lowden
jklowden at freetds.org
Mon Mar 9 13:03:51 EDT 2009
Gal Rubinstein wrote:
> the dev-c++ created a FreeTDS.DLL file and the libFreeTDS.a.
But we don't know what libFreeTDS.a is. I'll guess it's a static library
and not built correctly. You can check that with lib.exe. And you can
ignore it, since you want to use FreeTDS.DLL.
IGI (I Googled it).
It looks like your syntax is right, although it could be that, given a
choice between FreeTDS.DLL and libFreeTDS.a, "-lFreeTDS" chooses the .a.
You could try deleting it.
Also, make sure your DLL exports the symbols it should e.g. dbinit. Use
$ dumpbin -exports ntwdblib.dll | findstr dbinit
43 55 00007A10 dbinit
More information about the FreeTDS