Skip to Content.
Sympa Menu

freetds - Re: [freetds] Noobie, please help!

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Noobie, please help!
  • Date: Mon, 9 Mar 2009 13:03:51 -0400

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).


http://sig9.com/node/35
http://www.adp-gmbh.ch/win/misc/mingw/dll.html

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.exe:

$ dumpbin -exports ntwdblib.dll | findstr dbinit
43 55 00007A10 dbinit

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page