dialog based apps and databases

I am new to windows programming but have been programming in win32 for a year now

i would like to know how do i connest a dialog based application with a database i know you can do it easier through single and multiple doucments but that wouldnt suit my project

what classes do i need and what header files if any please help

thank you
if you are using MFC, CRecordset class and its related classes will help.

if you are using win32, you can use odbc and the header file is sqltypes.h and sqlext.h

look here for win32:
http://msdn.microsoft.com/en-us/library/ms710963%28v=VS.85%29.aspx

CRecordset is nothing but wrapper around these sql functions which you will find in above header files.

i think, odbc can connect to any database. you can also use oci/occi (oracle call interface) for oracle. But i dont know how easy it is to use oci on windows.
Topic archived. No new replies allowed.