Re: Getting a context from a user exit

From: DriftWood <drift_wood_at_my-deja.com>
Date: Fri, 15 Dec 2000 15:30:56 GMT
Message-ID: <91ddfh$m1$1_at_nnrp1.deja.com>


      The reason this may not be possible is that there exists no way to upscale an LDA type connection to an Oracle 8 context. If Forms is still using OCI 7.x, then it won't happen. If Forms is now using OCI 8 then they also have to have updated the USEREXIT library to support passing over more than the LDA style connection handle to the user exits.

You should try :

SQLSvcCtxGet(dvoid *context, text *dbname, int dbnamelen, OCISvcCtx **svc);

See "SQLSvcCtxGet()" on page 5-48 of the Pro*C/C++ manual.

If you have already tried this and it doesn't work, then it is likely not going to work, BUT I will do some checking into this and get back with a more definitive answer.

--
-cheers

  DW



"It is a kind of good deed to say well; and yet words are not deeds.   -William Shakespeare"

Sent via Deja.com
http://www.deja.com/ Received on Fri Dec 15 2000 - 16:30:56 CET

Original text of this message