Re: 0.83.dev.20100507 and Visual Studio 2010

Paul Thurston <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <2A93B3F6EB39EA48A0D41234D272A82A5F501E72A7@EXVMBX020-11.exch020.serverdata.net>
The stable build of version v0.82 does compile, almost right of the box.
Some minor adjustments are needed (add some dblib.lib, libTDS.lib to linker input for FreeTDS.dll project).

However, that's not the real problem with v0.82. The real issue is that Winsock is not being initialized properly in this build.
After I applied the INITSOCKET() patch as described, the Windows build of v0.82 works.



From: [email protected] [mailto:[email protected]] On Behalf Of Frediano Ziglio
Sent: Tuesday, May 11, 2010 3:28 AM
To: FreeTDS Development Group
Subject: Re: [freetds] 0.83.dev.20100507 and Visual Studio 2010


2010/5/10 Paul Thurston <[email protected]<mailto:[email protected]>>:

> Harry:

>

> Check the log file in the zip file, you'll see that I am able to successfully connect.

> Also, try your hand at adding the patch that solves the problem.

>

> Best,

>

> Paul

>



I don't understand all problems you had...

I built distribution, decompressed it, loaded solution file and compiled. Well.. I had some minor issues (fixed yesterday) about an include (dbopen.c) and some warnings about POSIX defines (fixed too) but at the end I got all compiled libraries.



lib files are usually not compatible between compiler versions. C DLLs are compatible (you can build a dll with MingW and use with VC++) but is not easy to produce import libraries from DLLs (import libraries are necessary using many compiler environments).



freddy77

_______________________________________________

FreeTDS mailing list

[email protected]<mailto:[email protected]>

http://lists.ibiblio.org/mailman/listinfo/freetds
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.