Skip to Content.
Sympa Menu

freetds - Re: [freetds] freetds in win32

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freetds in win32
  • Date: 06 Feb 2003 21:11:49 +0100

> I've just tested the latest snapshot and it does not compile with MSVC,
> wothout changes.
>
> This is a list of issues:
>
> 1) src/odbc/error.c has an absolute path in the project. It needs to be
> relative (unless you copy alle files to a predefined location).
>
> 2) win32\msvc6\config.h needs to be copied to include.
>
> 2) tds_sysdep_public.h needs to be copied from tds_sysdep_public.h.in
>
> 3) freetds_sysconfdir.h needs to be generated. Is there a predefined
> directory for the conf files on Win32 ? %SystemRoot%\system32\drivers\etc
> does not exist on all platforms.
>
> 4) SQLULEN is not defined on WIn32. This will take a small code change
>
> 1-3 can be handled from the .dsp file. I can provide a diff for this.
>

All fixed in CVS (BRANCH0_61 and MAIN).
My solution for problem 2 seem not so good... another solution is to
provide a tds_sysdep_public.h under msvc6 directory with only this line:
#include "tds_sysdep_public.h.in"
I used c:\ for problem 3... not so good, I know...

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page