PRB: Error Message: Fatal Error LNK1104 Cannot Open File "Nafxcwd.lib" (243458)
The information in this article applies to:
- Microsoft Visual C++ Standard Edition, version 6.0
This article was previously published under Q243458 SYMPTOMS
When you build a program that uses the Visual C++ Microsoft Foundation Classes (MFC), the following error occurs:
LINK : fatal error LNK1104: cannot open file "nafxcwd.lib"
CAUSE
This can happen if the project settings are set to Use MFC in a Static Library. Microsoft Visual C++ 6.0 Standard Edition does not support statically linking with the MFC libraries.
RESOLUTION
To resolve this problem, dynamically link your application to the MFC libraries.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 6/11/2002 |
---|
Keywords: | kbDSupport kbprb KB243458 |
---|
|