Using OCI / OCCI with just a few DLLs and not ORA file [message #144315] |
Tue, 25 October 2005 21:07 |
ocinewbie
Messages: 1 Registered: October 2005
|
Junior Member |
|
|
Hi everyone,
This may be a very easy question for most of you as I don't know much about OCI / OCCI yet. Basically, I am trying to write a piece of C++ code (that will be run within an MSI installer)that should verify that an oracle connection is valid. Later on, the installed program will use a JDBC thin driver, so my objective is simply to check from C++ that the connection to the database is good at installation time.
I am trying to use the OCI APIs to connect to the server, but it always fails somehow. I do have oci.dll loaded, but I don't have an ORA file. How can I simply check the connection with only a few DLLs (OCI or OCCI DLLs maybe), without an ORA file from the client? What should be the connect string format (the database is on a remote machine).
Regards,
|
|
|
|