Re: Call OCIErrGet() when failing to initialize OCI process env

From: Justice Ocker <justiceo_at_hotmail.com>
Date: 2000/08/01
Message-ID: <socdhfpjdbm83_at_corp.supernews.com>#1/1


No you can't get error information because OCIEnvCreate doesn't get an error handle passed to it. OCIEnvCreate is the beginning of all OCI activities so if it fails it is probably something wrong with your Oracle client installation.

Justice

liuye wrote:
>
>
> Hi, Oracle World.
>
> I am pretty new to Oracle. May I ask a question that may sound stupid to
> you about OCI.
>
> When initialize OCI process env call- OCIEnvCreate() fails, can I get
> futher error information by calling OCIErrGet()?
>
> I notice that the error handle required by OCIErrGet is always allocated
> after OCIEnvCreate() succeeds. If I cannot initialize OCI process
> environment correctly, is there other ways to get the error information?
>
> Thanks in advance,
>
> --ye
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
Posted via CNET Help.com
http://www.help.com/
Received on Tue Aug 01 2000 - 00:00:00 CEST

Original text of this message