473,382 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How can you connect c++ with any database.

Hi,
How shall i connect c++ with any data base(like oracle , xml
etc.).Plz Let me know if anybody familiar with this.

Thanks&regards,
saikishore

Dec 28 '05 #1
7 4621
skisho...@yahoo.co.in wrote:
Hi,
How shall i connect c++ with any data base(like oracle , xml
etc.).Plz Let me know if anybody familiar with this.


http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Jonathan

Dec 28 '05 #2
OCI

<sk*******@yahoo.co.in> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi,
How shall i connect c++ with any data base(like oracle , xml
etc.).Plz Let me know if anybody familiar with this.

Thanks&regards,
saikishore

Dec 28 '05 #3
Hi,
Use OTL to connect c++ with oracle.
Follow the link below:
otl.sourceforge.net

Cheer
Omveer

Dec 28 '05 #4

sk*******@yahoo.co.in wrote:
Hi,
How shall i connect c++ with any data base(like oracle , xml
etc.).Plz Let me know if anybody familiar with this.


You need a third party API that is specific to your OS and database.

Your question is off topic here, that is why you're not getting the
answer you want.

Dec 28 '05 #5
om**************@gmail.com wrote:
Hi,
Use OTL to connect c++ with oracle.
Follow the link below:
otl.sourceforge.net


SOCI will also do the job:
http://soci.sourceforge.net

Cheers
--
Mateusz Łoskot
http://mateusz.loskot.net
Dec 28 '05 #6
hi,
To connect with oracle either use OCI (oracle call interface) API's or
OCCI API's. There is lot of help availabel on net.

http://www.csee.umbc.edu/help/oracle...a67846/toc.htm

Regards
Parminder dhesi

Dec 29 '05 #7
On 27 Dec 2005 22:24:37 -0800, sk*******@yahoo.co.in wrote:
How shall i connect c++ with any data base(like oracle , xml
etc.)


Others have given good advice. An alternative that was enormously
successful for me was a hidden Oracle gem. :-) It's called OO4O.
(Oracle Objects for OLE) Don't let the name concern you. You are
*not* exposed to anything having to do with OLE.

It's a completely object oriented library that talks directly to
native Oracle drivers. I found it exceptionally fast. Especially in
comparison to ODBC. It uses the OCI API underneath. It can save
months (years?) in development time.

Google for it: "Oracle OO4O". It also comes with the Oracle client CD.
It automatically installs with even the smallest install.

PS: that's the letter "O" not zero.

Good Luck.

Dec 29 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Mr Dygi | last post by:
Hi, PHP 4.3.4 installed manually from package *.zip and Apache 2. I have a problem with this simple code: <?php $link = mysql_connect("127.0.0.1","","") or die("Could not connect: " ....
1
by: DAVID | last post by:
Hello, With regards to the Connect dialog on Oracle forms 6i via which we can connect to Oracle database, should we use the same functionality on forms run time again? I mean, I want to make a...
3
by: Lee | last post by:
Hi, I'm developing a socket program to connect to Informix database through the ODBC. In here i called my socket program as "tap" . My tap will listen for data from unix through port 1070. After...
4
by: Scott Holland | last post by:
HELP - Need to connect to DB2 database on AIX from NT server. Also AS/400 from NT Server -- I am experienced in ORACLE and a novice at DB2. What tools would be the equivalent of Net*8 or...
4
by: banz | last post by:
Hello I have a problem to resolve: I wrote a Perlscript which caches data from a server (local on my machine) I would like to have a other connection to a remote server but I don't know how to...
3
by: Jassim Rahma | last post by:
I would like to know what is the best way to onnect to connect to a database in general which provides you with full functionality & fast access? Best Regards, Jassim Rahma *** Sent via...
1
by: GNoter | last post by:
Scenario: I've a WebFarm with 2 web servers which are NLBs (network load balanced). Web1 and Web2; they are not part of a domain. I have a third server, Server3, which is part of a domain and on...
21
by: Steve | last post by:
I moved my database from one server to another SQL server. I did a backup and restore of the database. I can connect to the database on server A from my asp.net app but when I try to connect to my...
2
by: jeffhan | last post by:
we have os/400 db2 database at the backend. i installed db2 v9 connect server on one windows server which is locating the same network with database server. now how to i configure the connect...
5
by: danfan46 | last post by:
Hi! I have a previous post on the subject that connect takes a long time. I uninstalled db2 completely. Installed V9.5 Installed fixpack 1 created das created an instance installed...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.