Click to See Complete Forum and Search --> : ADO


manoj_ostawal
May 18th, 1999, 10:08 AM
Hi I am facing problems with
importing msado15.dll

I am having a component which uses ADO for
data access.
This component works fine when I import msado10.dll or msado15.dll (MDAC 2.0 or Less)

I am using VC++ 5.0, When I install MDAC 2.1 and
above on my machine I am not able to compile
the previous code.

Can any body please help me out with this

The statement which I am using for import is

#import "../ado/msado15.dll \
no_namespace rename("EOF","adoEOF");

thanx in advance........

bye
manu

May 28th, 1999, 10:43 AM
I am using this syntax

#import "msado15.dll" rename ("EOF", "ADOEOF")
using namespace ADODB;

mahesh

Wayne Fuller
May 28th, 1999, 02:03 PM
What is the error that you get?

Wayne

John Holifield
May 28th, 1999, 04:15 PM
I had the same problem with using ADO and Visual C++ 5.0. The funny thing was that it happened on some machines and not others. Finally I figured out that I needed Service Pack 3, to compile a program that #imports ADO. It sounds like this might be the problem you're having. What service pack(s) are you using?