Home » U++ Library support » U++ SQL » Oracle: How can use standard OCI without install oracle client?
|
Re: Oracle: How can use standard OCI without install oracle client? [message #26764 is a reply to message #26744] |
Wed, 26 May 2010 15:26 |
|
tojocky wrote on Tue, 25 May 2010 15:25 | Hello all,
Is possible to use oci.dll without installing oracle client?
Of is, what files and setting need to be done?
I need for windows xp platform.
Thanks in advance,
Ion Lupascu (tojocky)
|
I found the solution!
It is possible to copy the files: oci.dll, ociw32.dll (in case if you use oracle7 or explicit set oci.dll/so libname) and oraociei10.dll.
In u++ first of all need to set library path explicit by using the method: OCI8SetDllPath(<full oci.dll/so address path>)
or OCI7SetDllPath(<full oci.dll/so address path>) if you use oracle7.
Hope if this information will be useful for somebody!
Best regards Ion Lupascu (tojocky)
|
|
|
|
Re: Oracle: How can use standard OCI without install oracle client? [message #26773 is a reply to message #26769] |
Wed, 26 May 2010 19:15 |
|
luzr wrote on Wed, 26 May 2010 18:42 |
tojocky wrote on Wed, 26 May 2010 09:26 |
tojocky wrote on Tue, 25 May 2010 15:25 | Hello all,
Is possible to use oci.dll without installing oracle client?
Of is, what files and setting need to be done?
I need for windows xp platform.
Thanks in advance,
Ion Lupascu (tojocky)
|
I found the solution!
It is possible to copy the files: oci.dll, ociw32.dll (in case if you use oracle7 or explicit set oci.dll/so libname) and oraociei10.dll.
In u++ first of all need to set library path explicit by using the method: OCI8SetDllPath(<full oci.dll/so address path>)
or OCI7SetDllPath(<full oci.dll/so address path>) if you use oracle7.
|
Not needed if they are in the same dir as .exe.
You also need tnsnames.ora and sqlnet.ora config files in the same dir as .dlls.
Mirek
|
I tested on local network and did not works if isn't specified the full path!
I did not know about tnsnames. my connection is dirrect to server like usser/pass@host:port/SID
Add:
I want to add that is possible to install Oracle Client Lite (only shared library files) by address:
http://www.oracle.com/technology/software/tech/oci/instantcl ient/index.html
According by documentation Oracle Call Interface 10.2 guide.
[Updated on: Fri, 28 May 2010 14:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Sep 20 09:30:21 CEST 2024
Total time taken to generate the page: 0.04362 seconds
|