BUG: C1083 error occurs when you compile an MFC Extension DLL project (822333)
The information in this article applies to:
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
SYMPTOMS In Visual C++
.NET, the Microsoft Foundation Class (MFC) Class Wizard creates header and implementation code for your class, and adds .cpp and .h
files to the project. However, when you use the MFC Class Wizard to create a class
in an MFC Extension DLL project, you may receive the following error message while
compiling the project: fatal error C1083: Cannot open
include file: '<project name>.h': No such file or
directory CAUSEThe MFC Class Wizard incorrectly inserts code in
the <classname>.cpp file to include the <project name>.h file. WORKAROUNDTo work around the problem, remove following line of code
from the < classname>.cpp file: #include "<project name>.h" STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 1/17/2006 |
---|
Keywords: | kbDLL kbwizard kbLangCPP kbbug KB822333 kbAudDeveloper |
---|
|