|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: ActiveX Data Objects (ADO) In Visual C++
ActiveX Data Objects \(ADO\) In Visual C++ If you have any questions or comments about this article then please post them here.
You can read the article here . |
|
#2
|
|||
|
|||
|
[in]BSTR tablename,[out,retval] _Recordset **ptr
|
|
#3
|
|||
|
|||
|
I wanted to get into an Access DB with my C++ and jumped
into your article with interest. However you didn't say you were developing with COM. You didn't say you were making a DLL. And you never said you would access the database in the end with VB. At the least you could rename the article to make a more realistic and honest representation of its contents. This is more an exercise in COM than anything else. |
|
#4
|
|||
|
|||
|
Neat article. I learned quite a bit from it... and accessing an ms access database via a DLL is exactly what I was wanting to do. I went through each step exactly as the author has done it. When I compile however, I get the following:
Linking... nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in AdoAccess.obj nafxcwd.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined in AdoAccess.obj; second definition ignored Creating library Debug/AdoAccess.lib and object Debug/AdoAccess.exp Debug/AdoAccess.dll : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe. AdoAccess.dll - 2 error(s), 1 warning(s) Not certain how to overcome this... anyone with any information on how to get this corrected would be greatly appreciated!! Thanks!! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Article Discussion: ActiveX Data Objects (ADO) In Visual C++ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|