Print Thread
how to check oracle client
#8913 12/20/06 07:48 PM
Joined: Sep 2004
Posts: 46
P
Member
OP Offline
Member
P
Joined: Sep 2004
Posts: 46
Hi

Is there any ways to check if oracle client has been installed.

Currently Im using OracleHome function in my application in order to check if oracle client has been installed because this function raise
TStringList exception when it hasnt been installed.

Im just looking for standard way in doa if it exists.

Thanks.

Re: how to check oracle client
#8914 12/20/06 11:17 PM
Joined: Aug 1999
Posts: 22,218
Member
Offline
Member
Joined: Aug 1999
Posts: 22,218
You can call the InitOCI function in the OracleCI unit. If it raises an exception, the OCI (Oracle Call Interface) library could not be loaded, and the error message or the exception will indicate what went wrong.


Marco Kalter
Allround Automations
Re: how to check oracle client
#8915 12/22/06 10:45 PM
Joined: Sep 2004
Posts: 46
P
Member
OP Offline
Member
P
Joined: Sep 2004
Posts: 46
I'll try it.

Thaks for ur reply.


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.009s) Memory: 2.5008 MB (Peak: 3.0405 MB) Data Comp: Off Server Time: 2024-05-15 07:11:16 UTC
Valid HTML 5 and Valid CSS