0

Hi,

I would like to be able to use an api for reading/writing to a file database. Basically, I will have to write programs that have recovery (meaning if it shuts down, etc. it has a file/files to recover from). I could attempt to write something myself but if it exists already, I would rather just use it....

Winbatch

2
Contributors
4
Replies
5
Views
13 Years
Discussion Span
Last Post by winbatch
0

If you use Visual C++, you can use the CRecordSet (and its variants) to do all the file handling for you. It works very well (in my experience) and will save automatically thru the database application.

0

I am using visual studio .net, so I will look into that, but I was hoping for something more portable, as I also use SUN Solaris

0

If you are using Visual C++, MFC has a class called CRecordSet (there are variants of this, as well) that handle all the I/O for you. In my experience, they work very well. In fact , your app won't even need a file menu since the database application will save your files for you.

0

Thanks, but again I'm looking for something using standard c++/cross platform so that I can run it on windows as well as SUN.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.