Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database - Win32

Status
Not open for further replies.

xTiamatx

Programmer
Jul 20, 2003
22
0
0
US
I need an win32 API for ADO, I have a way to do it in MFC but that isn't compatible with my program... I need this as fast as possible..

-Kerry
 
Even if you code a non-MFC application you can still use ADO.

/JOlesen
 
You can import the ADO library and generate ATL wrapper classes for the interfaces without any MFC dependencies.
Code:
#import "C:\Program Files\Common Files\System\ADO\MSADO15.DLL" rename_namespace("MyDB") rename("EOF","EndOfFile")

using namespace MyDB;


-pete
 
#include<msado15.h>
and go ahead using ATL

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
could someone give me an example of inserting and opening using this method?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top