Skip to Content.
Sympa Menu

freetds - Re: Link error for C++ with FreeTDS - certain dblib calls missing in FreeTDS lib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Link error for C++ with FreeTDS - certain dblib calls missing in FreeTDS lib
  • Date: Sat, 24 Aug 2002 14:43:42 -0400 (EDT)


On Sat, 24 Aug 2002, James K. Lowden wrote:

> (Hey, hey, the gang's all here, a FreeTDS Saturday. :)
>

Just back from lunch. #167 on sour dough....Mmmmmm

> On Sat, 24 Aug 2002 10:28:56 -0400 (EDT), "Brian Bruns" <camber AT ais.org>
> wrote:
>
> > On Sat, 24 Aug 2002, Savitri Sarangi wrote:
> >
> > dbopen is a #define in the header file. Are you trying to link freetds
> > to an existing application compiled against openclient?
>
> Just to remind, dbopen() became the exported name about a month ago;
> DBOPEN is in the .h. That's what Sybase does (of late).

how are we working around the dbm conflict then?

> > > dbaltbind, dbcolbrowse, dbsetlname etc, etc) I then
> > > checked FreeTDS libraries libsybdb.a, libtds.a, libct.a for presence
> > > of these functions. No, they are not found.
> >
> > These function are not yet implemented. To be honest they are not used
> > that often, and I believe you are the first person to ask for them!
> >
> > dbsetlname() is not in the dblib manual, I thought is was purely an
> > internal function actually (all the DBSETL* routines call this,
> > inefficient).
>
> Savitri, do you have the source code for the program you're linking to
> FreeTDS? What are the calling semanatics of dbsetlname()? It doesn't
> appear in either vendors' documentation.

ugh, it takes a char * to the field name, and an int...? memory fails

> > dbaltbind will be mostly a duplication of the existing bind routines,
> > but may need some underpinnings.
>
> dbaltbind binds a compute column to a program variable. I never used it
> myself (too much work for too little result; it's easy enough to do your
> own summaries) but is it really a duplication of something else?

I mean it will be basically a dup of the regrow column binding.






Archive powered by MHonArc 2.6.24.

Top of Page