Unable to import msado15.dll 
Author Message
 Unable to import msado15.dll

Hi,
     I download an ADO VC sample from MSDN. I am unable to compile the
sample into an exe. On this line:
#import <msado15.dll> rename_namespace("ado15") //  see The #import
Directive

I got :
e:\vcproj\adovcbm\stdafx.h(24) : fatal error C1083: Cannot open type library
file: 'msado15.dll': No such file or directory

msado15.dll does exist on my machine. I can even go to VB and load
msado15.dll as reference.

Appreciate any suggestions.



Sat, 07 Feb 2004 02:56:51 GMT  
 Unable to import msado15.dll
Hi,

You must indicate the fullpath of msado15.dll.

e.g.
#import "c:\program files\common files\system\ado\msado15.dll" ....

Thanks,
Dave



Sat, 07 Feb 2004 09:49:50 GMT  
 Unable to import msado15.dll
Rather indicate :
#import <msado15.dll>

and define c:\program files\common files\system\ado\ as a system path

Quote:

> Hi,

> You must indicate the fullpath of msado15.dll.

> e.g.
> #import "c:\program files\common files\system\ado\msado15.dll" ....

> Thanks,
> Dave



Sat, 07 Feb 2004 23:00:31 GMT  
 Unable to import msado15.dll
Thank you all. It works.

Quote:
> Rather indicate :
> #import <msado15.dll>

> and define c:\program files\common files\system\ado\ as a system path


> > Hi,

> > You must indicate the fullpath of msado15.dll.

> > e.g.
> > #import "c:\program files\common files\system\ado\msado15.dll" ....

> > Thanks,
> > Dave



Sun, 08 Feb 2004 01:04:21 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. IN Atl7.0 where to import msado15.dll

2. Importing MSADO15.dll

3. Importing msado15.dll

4. import msado15.dll problem

5. Problems importing msado15.dll

6. #import msado15.dll

7. ADO : #import <msado15.dll> statement

8. Problem importing msado15.dll

9. Pbm Importing msADO15.DLL

10. Problem with #import msado15.dll :enum type redefinition

11. #import "msado15.dll"

12. Use Alt In Vc Platform about #import msado15.dll

 

 
Powered by phpBB® Forum Software