Solved

is it possible to use odbc without mfc ???

Posted on 1998-11-19
4
273 Views
Last Modified: 2008-02-01
surely it is!? But how?

how do i make the equivelant of a CDatabase Object and how do i open an access database and load it without using MFC. becuase u cant use mfc with the web, so there must be  a way. Im an oldie with c++ but new to odbc.
0
Comment
Question by:01875621
  • 2
4 Comments
 
LVL 10

Expert Comment

by:rbr
ID: 1178308
There are severel other programming languages hich can use ODCB. One is 4D by ACI (www.aci.com). This is a database language which has a full WEB support and is able to use ODCB.
0
 
LVL 10

Expert Comment

by:rbr
ID: 1178309
Sorry use www.aci.fr
0
 

Author Comment

by:01875621
ID: 1178310
Ya, but I have to use c++, I have a server side access database, and I want to be able to use an odbc interface to load, retrieve and save data back to it....HOW CAN I do this?
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 1178311
If you don't want to use MFC, you're not going to have anything like a CDatabase object. Unless, of course, you get it form some other library or invent it yourself.

The ODBC API is well-documented; there are at least two MS-Press books on it, and there's tons of info on it in MSDN about the APIs. You'll need to read up on the APIs and figure out which ones you will use for your application--they'll depend greatly on what, exactly, your application will do.

To get started, you can connect to your data source with the SQLConnect() and disconnect with SQLDisconnect().

What do you mean by "You can't use MFC with the web"? If you mean that you can't put MFC in server-side web scripts or apps, nothing could be further from the truth!

B ekiM

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Would like to move button in a function 3 79
Find Visual Studio Tools 2 113
c++, dynamic object by json 1 53
find Speed using GPS latitude & longitude 4 48
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question