compiling error,

G

Guest

Dear Experts,

I have a project, built long time ago, using VC++. Now i want to compile it
in Microsoft Visual Studio .Net 2003. When i tried to open the project
file(xxx.dsw), i was asked:
------
The project 'xxxx.dsp' must be converted to the current Visual C++ project
format. After it has been converted, you will not be able to edit this
project in previous versions of Visual Studio.
Convert and open this project?
-------
and i choose "Yes To All". Now, i have a new project file: xxx.sln

In my project, there is a file, aaa.h, with a line as follows in it:

#import "msado15.dll" no_namespace rename("EOF", "adoEOF" ) rename("BOF",
"adoBOF" )

When i try to compile the project, i got the following errors (there are
some other warning)

c:\myProjectPath\aaa.h(18): fatal error C1083: Cannot open type library
file: 'msado15.dll': No such file or directory

and this error happened at the line: #import "msado15.dll" no_namespace
rename("EOF", "adoEOF" ) rename("BOF", "adoBOF" )

Please help me to solve this problem. Thanks in advance!

Victor
 
W

William DePalo [MVP VC++]

VicVic said:
In my project, there is a file, aaa.h, with a line as follows in it:

#import "msado15.dll" no_namespace rename("EOF", "adoEOF" ) rename("BOF",
"adoBOF" )

When i try to compile the project, i got the following errors (there are
some other warning)

c:\myProjectPath\aaa.h(18): fatal error C1083: Cannot open type library
file: 'msado15.dll': No such file or directory

So, where is the file msado15.dll?

The compiler searches the directory of the source file, the directory of the
file "aaa.h", the directories of given by the PATH variable, the directories
of given by the LIB variable and the additional include directories
specified with the /I option.

Regards,
Will
 
G

Guest

Thank you very much William!
Cheers!
--
Victor


William DePalo said:
So, where is the file msado15.dll?

The compiler searches the directory of the source file, the directory of the
file "aaa.h", the directories of given by the PATH variable, the directories
of given by the LIB variable and the additional include directories
specified with the /I option.

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top