Re: headers for odbc functions

"Haszlakiewicz, Eric" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <4EB74494E20A13478F64930FDE244D6467C9D6@CHO3WUC9MBX11.corp.transunion.com>
Oh, ok.  I missed the mention about "ODBC Preparation" on the how-to-build page, and I didn't notice the --with-unixodbc option to configure.  Now that I installed unixODBC and configured FreeTDS with that I'm able to compile my program.
It's a bit confusing since the FreeTDS user guide claims it implements the ODBC functions, but it's not usable w/o the other package.

Thanks for the help.

eric 

> -----Original Message-----
> From: [email protected] [mailto:freetds-
> [email protected]] On Behalf Of Frediano Ziglio
> Sent: Monday, May 07, 2012 12:55 PM
> To: FreeTDS Development Group
> Subject: Re: [freetds] headers for odbc functions
> 
> Headers came from DM, usually unixOdbc or iOdbc, you should link to DM
> directly which will load and use FreeTDS. That's why there is no
> headers in FreeTDS itself.
> 
> Frediano Ziglio
> 
> Il giorno 07/mag/2012, alle ore 18:20, "Haszlakiewicz, Eric"
> <[email protected]> ha scritto:
> 
> >
> > I'm having some trouble figuring out how to use ODBC functions like
> SQLConnect() with freetds.
> > I've looked through the FAQ, and searched the web for examples, and
> even grep'd through the freetds tarball I downloaded (freetds-
> stable.tgz) for a header with the SQLConnect function prototype, but I
> can't find anything.
> > I feel I'm missing something obvious, but I can't quite figure out
> what.
> > Can someone point me in the right direction here?
> >
> > Thanks,
> > eric
> _______________________________________________
> FreeTDS mailing list
> [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.