Re: Creating databas via MFC
I do not understand what you mean by "Create a Database". You could just output all the data you need to a text file, and that would be a database. Encrypt the data and add some indexing & speedy access functions, and you can sell it. There is really not much to a database, it is a really simple idea--the hard part is just making it fast to access & reliable.
Anyway, maybe if you could explain your requirements a little more & what you need your database to be able to do, someone can be more helpful.
HTH
--michael
Re: Creating databas via MFC
Here is a trick I used long ago in VB, but it should work in VC++ as well. Use access to create an empty .mdb file named default.mdb for example. Then when your application notices that there is no database, you simply copy and rename the empty database.
Of course it is easier to just call the CDaoDatabase::Create() function... :-)
Re: Creating databas via MFC
There is a sample in Visual C++ help contents.
So search for "DAOTABLE sample". It shows U a way
to create database, tables, and index thru
CDaoDatabase class.
Hope for help. :)
Walter