Advertisement

How to create a local DB in VC++?

Started by May 14, 2002 07:14 AM
4 comments, last by ChacaL 22 years, 9 months ago
Hi, I need to store a lot of data and I''m having problems with text files... the program causes illegal operations and everything about my acctual Text DB system SUX! How to use a DB in MS VC++ 6? I mean, not a remote DB like MySQL, but a local, and file-based DB? I need such a component wich I tell the data and it stores it in a file, and I do queries to it, and it returns me the data. Also, it''s important to the system to be ''stand-alone''. I mean, the end-user don''t need to install some kind of DB server or Access package into his computer to use my application. I read something on Delphi 5 Samples, the guys made a component that work with text file databases, you just need to specify the filename that the system will store the data. I need something like that... but in Visual C++. Any idea?'' Thank you all! See you
Please mates...

Just point me to a library, doc... site...

Any ideas?

Thanks guys!
Advertisement
Try a different forum. Something like the General Programming forum. You''ll probably get more help there.
------------------------------Piggies, I need more piggies![pig][pig][pig][pig][pig][pig]------------------------------Do not invoke the wrath of the Irken elite. [flaming]
Do a google search for ''sleepycat software'' - they have an open source database package that should work with VC++.
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
I think MySQL could be local too... if you install both MySQL server... and MySQL Client (which is your program) on the same PC.

And remember to load/run the server 1st b4 running your program.

[edited by - DerekSaw on May 16, 2002 7:14:48 AM]
"after many years of singularity, i'm still searching on the event horizon"
YOu could use DAO. the user would have to install it(or your program could do it automaticly) but its small and comes on your VC++ cd. it can open access, exel, dbase...and a bunch of other kinds of databases.

This topic is closed to new replies.

Advertisement