Because it is doing a multi-layer system, we think more about the efficiency of database access. This time I choose Occi. I didn't think about it. When I was debugged, I met a strange problem, and I couldn't return multiple records. Now the resolution process record is as follows, I hope to give a little help to a similar situation, but also give yourself a note. I installed Oracle 10g, the compiler is VC 6 settings as follows: header file directory: c: / oracle / 10g / OCI / include library file directory: C: / Oracle / 10G / OCI / LIB / MSVC and C: / Oracle / 10g / OCI / LIB / MSVC / VC6 To add OCCI libraries in Link, as shown below:
The runtime library must set up a DLL version that supports multi-threads, otherwise you will encounter the problem I said above. Set the way as follows:
The debug version is set above, if it is a release, to change to the corresponding DLL and OCCI library.