Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: What's wrong with oci.
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
![]() |
![]() |