Hi,

When I want to create a DialogBox, I use the exported functions of user32.dll. But this time I want to create, delete or modify a database file preferably an access database (*.mdb). Is there such a dll which has exported functions such as ceating, modifying,... etc.  a database?

If Windows doesn't have such a dll, is there any other database? For example has mysql got such a dll?


regards
Posted on 2006-05-28 08:28:21 by highenergy
Have a look at Iczelion's ODBC tutorials, and realize that it's no fun using ODBC - whether you code in a HLL or in Assembly.

www.sqlite.org has a C interface which is easy enough to use from assembly.

MySQL probably isn't suitable for what you want to do, since it requires setting up a server.
Posted on 2006-05-28 10:45:02 by f0dder
Hi
If you are looking for a desktop database, look at the ObjAsm32 DBase example.

Biterider
Posted on 2006-05-28 11:50:37 by Biterider
@f0dder:

Thank you. Sqlite is exactly what I need. Just a simple and small sqlite3.dll (325Kb) does all I want.


One more thing. Is there a dll which allows me to create an *.mdb file?


regards
Posted on 2006-05-28 15:50:17 by highenergy
odbc32 is the very dll that allows you creating mdbs - no magic just SQLConfigDataSource function.
Posted on 2006-05-28 17:42:14 by k3Eahn

One more thing. Is there a dll which allows me to create an *.mdb file?

For *.mdb manipulation the best thing is to use DAO, I think. It is a set of COM objects. If you have MDAC prior to 2.6 installed, then you have DAO. If not, then try http://msdn.microsoft.com/data/ref/mdac/downloads/ (Jet downloads)
Posted on 2006-05-29 01:50:57 by Morris