I noticed these libraries are not free, can anyone point me to a free C++ Oracle Libraries?
I noticed these libraries are not free, can anyone point me to a free C++ Oracle Libraries?
It seems like SQLAPI++ should be able to do that.
http://www.sqlapi.com/
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Oracle's got there own OCCI libraries for MS Visual C++ 8/9 (2005/2008) or for g++ compiler's:
http://www.oracle.com/technology/tec...cci/index.html
Far as I know they are free to download and use to your heart's content.
[edit]Those are for Oracle 10/11g databases.[/edit]
Last edited by hk_mp5kpdw; 02-03-2009 at 08:31 AM.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
Just use standard Win32 api methods (Odbc and others)
ODBC is not part of the win32 api.
You can find drivers and examples of using ODBC online, it's one of the more popular ways to connect to an RDBMS.
used the example on this forum which you find all over then NET.. So irritating that you can't find the required header file
Never heard of a dbmanager.h header, but my relevant headers for the OCCI stuff were installed (I believe) when I installed the Oracle database itself. On my machine they were located in the C:\oracle\product\10.2.0\client_1\oci\include directory. If you want, I could email you a file with the headers. I would have thought that downloading the libraries would come with the necessary headers.
[edit]Actually it was an Oracle client I installed on the machine in question and not the Oracle database.[/edit]
Last edited by hk_mp5kpdw; 03-18-2009 at 04:33 PM.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
This library also has an Oracle backend:
http://soci.sourceforge.net/
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Cornedbee, trying to understand (link)configuring soci_lib.sln on VS2005 ... But confused ...
In my case, all these point to "C:\Program Files\Firebird\Firebird_2_0\include" which am not even sure when/how was firebird installed ... Should i change this to the soci....\lib folder?* FIREBIRD_INCLUDE_DIR - path to FireBird client library headers
* FIREBIRD_LIB_DIR - path to FireBird client library
* FIREBIRD_LIB - FireBird library, can be left unchanged
* MYSQL_INCLUDE_DIR - NOT USED
* MYSQL_LIB_DIR - NOT USED
* MYSQL_LIB - NOT USED
* ODBC_INCLUDE_DIR - ODBC include path, can be left unchanged
* ODBC_LIB_DIR - ODBC libraries path, can be left unchanged
* ODBC_LIB - ODBC library file, can be left unchanged
* ORACLE_INCLUDE_DIR - path to OCI headers
* ORACLE_LIB_DIR - path to OCI libraries
* ORACLE_LIB - list of OCI libraries
* POSTGRESQL_INCLUDE_DIR - path to libpq headers
* POSTGRESQL_LIB_DIR - path to libpq library
* POSTGRESQL_LIB - libpq library, can be left unchanged
* SQLITE3_INCLUDE_DIR - path to SQLite 3 headers
* SQLITE3_LIB_DIR - path to SQLite 3 library
* SQLITE3_LIB - SQLite 3 library, can be left unchanged
Unless you plan to use the Firebird database, I think you can ignore them.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law