Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: What's wrong with oci.

Re: What's wrong with oci.

From: Vitaly Batychko <willi_at_iron.Te.NeT.UA>
Date: 20 Nov 1999 15:41:09 GMT
Message-ID: <816fel$ir$1@toster.Te.NeT.UA>


xzhang2000_at_my-deja.com wrote:
> Here is what I try to connect to Oracle from a NT station. It never
> correctly logon the server ,but i can connect to server with SQLPlus.

> Here is the info:
> Account : bill
> password : xxx
> connect: cs

> Cda_Def cda;
> Lda_Def lda;
> ub1 hda[HDA_SIZE];

> olog(&lda, hda, (text *) "bill", -1,
> (text *) "xxx",
> -1, "cs", -1, 1);

> Am i doing something wrong? Thanks for advice.

You should memset(hda, 0, sizeof(hda)). Note, that You setup a non-blocking connection mode.

Regards,
Vitaliy Received on Sat Nov 20 1999 - 09:41:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US