Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to pass a handle obtained from an OCI program to a Pro*C program ?
Ivan Krivobarski wrote:
>
> Hi there,
> Can anybody help me - How can I pass a handle obtained from an OCI program
> to Pro*C program ?
> In other words - how to get the Pro*C context for the session from an OCI
> connection handle.
I think it would be better if you were to think of it the other way around - using OCI calls in a Pro-C program.
Here are the steps:
To embed OCI calls in your Pro*C/C++ program, take the following steps: