freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Thompson, Bill D (London)" <bill_d_thompson AT ml.com>
- To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Hello World help
- Date: Wed, 17 Mar 2004 09:06:18 -0000
Ken,
have a look at <freetds>/src/ctlib/unittests/t0002.c , which tries to do
pretty much what you are trying to do.
Off the top of my head, I would say you need to do more with the output
DATAFMT structure before binding, e.g.:
output.format = CS_FMT_NULLTERM;
output.maxlength = 100;
output.count = 1;
output.locale = NULL;
that might help.
If not , if you generate a TDSDUMP by setting "export TDSDUMP=<filename>" or
"setenv TDSDUMP <filename>"
that should help us find the problem.
Bill
> -----Original Message-----
> From: Kenneth Knowles [SMTP:kknowles AT berkeley.edu]
> Sent: 16 March 2004 21:30
> To: freetds AT lists.ibiblio.org
> Subject: Re: [freetds] Hello World help
>
>
> Sorry, forgot to attach the files, here they are.
> << File: dblib.c >> << File: db_ct.c >> << File: ATT632944.txt >>
==============================================================================
If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.
Click here for important additional terms relating to this e-mail.
<http://www.ml.com/email_terms/>
==============================================================================
-
[freetds] Hello World help,
Kenneth Knowles, 03/16/2004
- Re: [freetds] Hello World help, Kenneth Knowles, 03/16/2004
- <Possible follow-up(s)>
-
RE: [freetds] Hello World help,
Thompson, Bill D (London), 03/17/2004
- Re: [freetds] Hello World help, Kenneth Knowles, 03/17/2004
Archive powered by MHonArc 2.6.24.