将c ++(在visual studio 2012中)与oracle数据库连接

将c ++(在visual studio 2012中)与oracle数据库连接

问题描述:





我想使用c ++从我的visual studio 2012连接到oracle数据库(oracle 11g)。我安装了ODAC。我在谷歌搜索过。找不到解决方案。任何人都可以帮助我。

Hi,

I want to connect to oracle database(oracle 11g) from my visual studio 2012 using c++. I have installed ODAC. i searched in Google. No solution found. Anyone help me please.

请参阅 http://www.connectionstrings。 com / oracle / [ ^ ]。


hi,

Oracle提供了一个名为OCCI(Oracle C ++调用接口)的库,它与vc ++代码一起工作。

看看入门文章 [ ^ ]

博主有使用VS2008环境,但它仍然非常有用。

也许这对你有所帮助。

There is a library provided by Oracle called OCCI (Oracle C++ Call Interface) which works with vc++ code.
Take a look at getting started article[^]
The blogger has used VS2008 environment but it is still very informative.
Maybe this helps you.