Solved

DataBase adn Visual C++

Posted on 1998-08-27
5
199 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 100 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:highstar1
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

705 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