|
-
September 23rd, 2001, 09:06 PM
#1
How can I use ADO in a C program
I need to use ADO in a C program, where classes should not be used. Is it possible?
thx
-
September 24th, 2001, 12:01 AM
#2
Re: How can I use ADO in a C program
from where are you going to use ADO? VS enviroment?
-
September 25th, 2001, 01:09 AM
#3
Re: How can I use ADO in a C program
There's a tutorial in the article section here.
http://www.codeguru.com/mfc_database/index.shtml
"Writing a comment in your source does not necessariliy mean that your source is commented"
-
September 25th, 2001, 02:43 AM
#4
Re: How can I use ADO in a C program
-
September 25th, 2001, 02:52 AM
#5
Re: How can I use ADO in a C program
in your StdAfx.h :
#import "C:\Program Files\comun files\system\ado\msado15.dll" rename_namespace("AdoNS") rename "EOF", "adoEOF" ) rename( "EOS", "adoEOS" )
using namespace AdoNS;
look at following classes:
_ConnectionPtr
_RecordsetPtr
_CommandPtr
_StreamPtr (not very usefull)
_RecordPtr (not very usefull)
there are doc in MSDN:
"Command (ADO for Visual C++ Syntax)"
"Recordset (ADO for Visual C++ Syntax)"
"Connection (ADO for Visual C++ Syntax)"
...
I hope it's help 
...addicted to cpp...
-
September 25th, 2001, 03:02 AM
#6
Re: How can I use ADO in a C program
but in C, not in C++, how can I use it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|