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!

I need to create a VC++ DLL to allow access to a database

Status
Not open for further replies.

Zace

Programmer
Feb 5, 2004
1
0
0
GB
Assuming the connections are in place - say to a simpke Access database - I need to create a DLL that will allow me to perform general SQL queries on the said databse tables.

Alas I am not a VC++ programmer of any great skill. However I am using a version of Basic that I can wrap round a VC DLL.

Could someone please show me how to at least get started in creating the DLL I need. (yes I can create a DLL, the problem comes in teh database accessing)

Ideas on waht i want to do are initially somethign like 'Select * from Names', moving on to creating tables and adding data.

Many thanks
Chris.
 
Great things, dlls. There is already ADO/DAO/RDO/ODBC interfaces to access databases. You don't have to cerate them.

Ion Filipski
1c.bmp
 
i agree with ionfilipski but if you really want you could wrap around these funtionality into a DLL also. just have ur own database and recordset variables in a class and expose functionality from within that class
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top