C++ BUILDER6中通过OTL操作ORALE的环境配置
1、加入OTL4.H头文件;
2、OCI.LIB文件的生成。由于ORACLE9I中只提供了VISUAL C++的OCI.LI,所以必须重新生成BCB的LIB文件,在OTL的论坛上找到以下方法:
I got it working now. I found out, that I needed to
re-import the oci.dll for use with C++ Builder as follows:
In a separate directory that I created:
implib -a oci.lib <oracle_home>\bin\oci.dll
...and then include the newly created .lib file into
my project.
3、把生成BCB的OCI.LIB加入工程后,即可。
2、OCI.LIB文件的生成。由于ORACLE9I中只提供了VISUAL C++的OCI.LI,所以必须重新生成BCB的LIB文件,在OTL的论坛上找到以下方法:
I got it working now. I found out, that I needed to
re-import the oci.dll for use with C++ Builder as follows:
In a separate directory that I created:
implib -a oci.lib <oracle_home>\bin\oci.dll
...and then include the newly created .lib file into
my project.
3、把生成BCB的OCI.LIB加入工程后,即可。