tags:

views:

34

answers:

3

Hi, Can you recommend good embedded databases with Visual C++/MFC?

I've looked at: - SQLite - HamsterDB

Any others?

A: 

Have a look around on codeproject.com for MFC-esque wrappers around sqlite. There are quite a number of good ones. The sqlite website has links to c++ wrappers, too.

Roel
I use http://softvoile.com/development/CppSQLite3U/ SQLite Unicode wrapper
buttercup
A: 

I would use SQL Server Compact Edition plus ATL OLE DB Consumer Templates (you can use them with MFC).

This is an interesting link: http://www.codeproject.com/KB/windows/atl_ole_db_ppc.aspx

You have to use this OLE DB provider: http://msdn.microsoft.com/en-us/library/ms174142(SQL.100).aspx

Lorenzo
A: 

Windows has an embedded database enginge (no query engine, a low level API like HamsterDB).

http://blogs.msdn.com/b/windowssdk/archive/2008/10/23/esent-extensible-storage-engine-api-in-the-windows-sdk.aspx

Laurion Burchall