ApplePie
ApplePie

Reputation: 8942

MS ADO DLL not properly installed?

I'm just trying to install everything needed to start messing with ADO in MSVC 2010 Express just to learn more about it and I may end up using some of these things I learn at work.

I have read from MSDN that I need to install MDAC, so I went and got the latest version here: http://www.microsoft.com/en-us/download/details.aspx?id=5793

From what I've read online I need to use the #import pre-compiler directive with the name of my MS ADO DLL ("msado15.dll" is mentionned) to initialize ADO in MSVC but it seems that even after installing MDAC I do not have this DLL. What have I done wrong ?

I am using Windows 7 64 if that matters.

Upvotes: 0

Views: 1525

Answers (1)

paulsm4
paulsm4

Reputation: 121759

"ADO" is the old COM/ActiveX "Data Object" component.

The newer/bigger/brighter object model is "ADO.Net", for C# and VB.Net.

The link you referenced clearly refers to the old ADO:

http://www.microsoft.com/en-us/download/details.aspx?id=5793

Supported operating systems: Windows 2000, Windows 98, Windows ME, Windows NT

Soooooooo:

1) Start out with this link:

2) You should have everything you need by virtue of having Windows 7 (Pro?) and having installed MSVS 2010 Express.

3) Here is a good example of using ADO.Net in managed C++:

'Hope that helps!

Upvotes: 3

Related Questions