Re: Noobie, please help!

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.