?
Solved

DataBase adn Visual C++

Posted on 1998-08-27
5
Medium Priority
?
200 Views
Last Modified: 2010-04-01
Can I build a database in using Visual C++ without using other language such as eg. Access, Oracle, SQL, etc.
If yes, how can I do this?

0
Comment
Question by:cplau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
Bonev earned 200 total points
ID: 1171464
Yes, you can.
Using the CDaoDatabase class in Microsoft Visual C++ you can create a Microsoft Jet database (like these created with Microsoft Access). To use this database you may need to use all classes with names starting with CDao, like CDaoRecordset, CDaoQueryDef, e.t.c.
* You will need to install DAO SDK that could be found on MSVC++ 5.0 CD-ROM.

0
 
LVL 2

Expert Comment

by:Ryan Rowley
ID: 1171465
Yes you Can :)
What kind of database do you want?  a .dbf or your own unique type of database..
Database programming is fairly easy if you know what you want.
0
 
LVL 7

Expert Comment

by:psdavis
ID: 1171466
* You will need to install DAO SDK that could be found on MSVC++ 5.0 CD-ROM

EEkk!! Don't install the DAO SDK.  It'll only confuse you.  That is an additional SDK that is only for migrating from Visual Basic.  The CDaoRecordset is built in directly to MS Visual C since 4 something.

Phillip
0
 
LVL 1

Expert Comment

by:Bonev
ID: 1171467
To psdavis:
Correct me if I am wrong, but I don't tnink you will be able to distribute your application without DAO (you will need to install it to your client's computers).
0
 
LVL 7

Expert Comment

by:psdavis
ID: 1171468
There's two different entities.  There's DAO with it's distributable files and theres the DAO SDK.  The DAO SDK contains different functions for CDaoRecordset.  Take a look in the DAO SDK documentation.  The functions have a completely different name.  It's something like dbDaoRecordset instead.  You don't need it.

Phillip
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses
Course of the Month8 days, 21 hours left to enroll

764 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