Print Thread
How to Detect SQL*Net 2.3 or Net8?
#371 03/16/00 03:25 AM
Joined: Sep 1999
Posts: 14
Orem, Utah USA
C
CraigJ Offline OP
Member
OP Offline
Member
C
Joined: Sep 1999
Posts: 14
Orem, Utah USA
Is there a way using DOA to detect the client that's installed? We need to upgrade all our users to Net8 and an easy way to detect the client installed would be helpful.

TIA


Craig Jensen
PowerQuest Corporation
Re: How to Detect SQL*Net 2.3 or Net8?
#372 03/16/00 07:48 PM
Joined: Aug 1999
Posts: 22,226
Member
Offline
Member
Joined: Aug 1999
Posts: 22,226
The OracleCI unit contains a global boolean variable OCI80Detected, which indicates if Net8 is present. It is only valid after OCI (the Oracle Call Interface) has been initialized, which occurs during the first TOracleSession connection. If you want to know this before making a connection, you can explicitly initialize OCI by calling InitOCI, which is also located in the OracleCI unit.

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


Marco Kalter
Allround Automations
Re: How to Detect SQL*Net 2.3 or Net8?
#373 03/16/00 10:38 PM
Joined: Sep 1999
Posts: 14
Orem, Utah USA
C
CraigJ Offline OP
Member
OP Offline
Member
C
Joined: Sep 1999
Posts: 14
Orem, Utah USA
It works great. Thanks for your help.


Craig Jensen
PowerQuest Corporation

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.030s Queries: 12 (0.011s) Memory: 2.5035 MB (Peak: 3.0422 MB) Data Comp: Off Server Time: 2024-06-03 03:49:02 UTC
Valid HTML 5 and Valid CSS