Print Thread
Oracle 8 question
#636 06/21/00 11:38 PM
Joined: Jun 2000
Posts: 13
B
bchau Offline OP
Member
OP Offline
Member
B
Joined: Jun 2000
Posts: 13
I read some where that Oracle 8 doesn't support the ExteralLDA pointer anymore, is this true?
In Oracle 8, is the ExternalSVC is a replacement for the ExternalLDA in Oracle 7.x. If it's true, then How am I go about using it between an Exe and a Dll?

Re: Oracle 8 question
#637 06/22/00 01:28 AM
Joined: Jun 2000
Posts: 6
Scarborough, ON, CA
1
Member
Offline
Member
1
Joined: Jun 2000
Posts: 6
Scarborough, ON, CA
According to the DOA documentation, only the advanced features in ORA8 will be disabled.
To play it safe, I use ExternalLDA with Preferences|UseOCI7=True.

Re: Oracle 8 question
#638 06/22/00 05:46 PM
Joined: Jun 2000
Posts: 13
B
bchau Offline OP
Member
OP Offline
Member
B
Joined: Jun 2000
Posts: 13
I would like to, but the company database is upgrading from Oracle 7.x to Oracle 8, that's why I need to modified my code to use the OCI8. I read in DOA's version 3.33, the TOracleSession has properties call "Share" and ExternalSVC, etc..., does this work like ExternalLDA in OCI7?
If yes, can someone provide me some example.
Thanks

Re: Oracle 8 question
#639 06/22/00 05:56 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
You should probably use the TOracleSession.Share procedure, which is new in 3.3.3 and is transparent for OCI7 and OCI8 (SQL*Net and Net8). You can download a demo that uses various methods to share a session between a host application and a DLL (but not between multiple executables!):

http://www.allroundautomations.nl/download/dlldemo.zip


------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: Oracle 8 question
#640 06/22/00 10:28 PM
Joined: Jun 2000
Posts: 13
B
bchau Offline OP
Member
OP Offline
Member
B
Joined: Jun 2000
Posts: 13
Hi Marco,
Thanks for the information, but I've done a few application with Exe calling Dll.
Is there any solution or way to get around to share on OracleSession with multiple Exe?


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.039s Queries: 13 (0.025s) Memory: 2.5158 MB (Peak: 3.0430 MB) Data Comp: Off Server Time: 2024-05-20 11:23:04 UTC
Valid HTML 5 and Valid CSS