Aug 24, 2003 #1 xTiamatx Programmer Joined Jul 20, 2003 Messages 22 Location 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
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
Aug 25, 2003 #2 JOLESEN Programmer Joined Jun 21, 2002 Messages 317 Location DK Even if you code a non-MFC application you can still use ADO. /JOlesen Upvote 0 Downvote
Aug 25, 2003 #3 palbano Programmer Joined Oct 9, 1998 Messages 4,341 Location US 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 Upvote 0 Downvote
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
Aug 25, 2003 #4 Cagliostro Programmer Joined Sep 13, 2000 Messages 4,226 Location GB #include<msado15.h> and go ahead using ATL Ion Filipski ICQ: 95034075 AIM: IonFilipski filipski@excite.com Upvote 0 Downvote
#include<msado15.h> and go ahead using ATL Ion Filipski ICQ: 95034075 AIM: IonFilipski filipski@excite.com
Aug 25, 2003 Thread starter #5 xTiamatx Programmer Joined Jul 20, 2003 Messages 22 Location US Ok cool! thanks a lot! -Kerry Upvote 0 Downvote
Aug 25, 2003 Thread starter #6 xTiamatx Programmer Joined Jul 20, 2003 Messages 22 Location US could someone give me an example of inserting and opening using this method? Upvote 0 Downvote