[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

DataBase adn Visual C++

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
cplau
Asked:
cplau
  • 2
  • 2
1 Solution
 
BonevCommented:
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
 
Ryan RowleyCommented:
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
 
psdavisCommented:
* 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
 
BonevCommented:
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
 
psdavisCommented:
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now