Skip to Content.
Sympa Menu

freetds - RE: [freetds] Compiling FreeTDS/dblib under Visual Studio

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frank M. Kromann" <frank AT kromann.info>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Compiling FreeTDS/dblib under Visual Studio
  • Date: Mon, 24 Jan 2005 11:47:08 -0800

Hello,

A fewdays ago I submitted bth dsp and dsw files to this list. This makes
it possible to use dblib with PHP and other C based programs on Win32.

The PHP extension for MSSQL can now be compiled with the dblib library
from FreeTDS, removing some of the limitations found in Microsofts version
of this library.

- Frank

> > From: Piotr Kozaczewski
> > Sent: Monday, January 24, 2005 7:14 PM
> >
> > I would like to use db-lib under WinXP and MUST use MSVC++.
>
> If you get this to work (which shouldn't be too hard), I would be happy
> to apply your patches to the main tree.
>
> > I found a file ....../freetds-0.62.4/win32/msvc6/FreeTDS.dsw ,
> > loaded it into MSVC++ and built a project.
>
> A .dsw is a "workspace", a collection of .dsp ("project") files. The
> .dsp governs which source modules produce which binaries. The .dsw
> governs interproject dependencies. Last I looked, there's no .dsp that
> produces libsybdb.lib.
>
> > A directory ....../freetds-0.62.4/win32/msvc6/Debug has been created,

> > which contained FreeTDS.dll and FreeTDS.lib, and no other libraries
> any more.
>
> IMHO, that's not a good target directory. I would rather see
> freetds-0.62.4/src/odbc/win32/msvc6/Debug, making it clear that it's an
> ODBC binary.
>
> > My question:
> > 1. Does FreeTDS.dll and FreeTDS.lib contain everything I need to use
> db_lib functionality?
>
> (If you spend a little time with dumpbin.exe, you'll see what's in
> freetds.dll.)
>
> > 2. If not, what should I do in order to build db_lib under MSVC++
> > -- I did not find any .dsw files beyond the one mentioned above ?
>
> Create a project that produces a static library from src/dblib/*.c and
> src/tds/*.c. After that, it's just a small matter of programming.
>
> --jkl
>
> -----------------------------------------
> The information contained in this transmission may contain privileged
and confidential information and is intended only for the use of the
person(s) named above. If you are not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, any review, dissemination, distribution or duplication of this
communication is strictly prohibited. If you are not the intended
recipient, please contact the sender immediately by reply e-mail and
destroy all copies of the original message. Please note that we do not
accept account orders and/or instructions by e-mail, and therefore will
not be responsible for carrying out such orders and/or instructions.
> If you, as the intended recipient of this message, the purpose of which
is to inform and update our clients, prospects and consultants of
developments relating to our services and products, would not like to
receive further e-mail correspondence from the sender, please "reply" to
the sender indicating your wishes. In the U.S.: 1345 Avenue of the
Americas, New York, NY 10105.
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>






  • RE: [freetds] Compiling FreeTDS/dblib under Visual Studio, Frank M. Kromann, 01/24/2005

Archive powered by MHonArc 2.6.24.

Top of Page