You receive a "fatal error LNK1104" error message when you link a VXD with the /MAP switch in Visual C++

Article translations Article translations
Article ID: 195377 - View products that this article applies to.
This article was previously published under Q195377
Expand all | Collapse all

SYMPTOMS

When you link a VXD (/VXD switch) with the /MAP switch to generate a map file in Microsoft Visual C++, you may receive the following error message:
LINK : fatal error LNK1104: cannot open file "<filename>.map"

RESOLUTION

There is no workaround for this problem. You must either not generate a map file for the VXD, or build the VXD using the linker supplied with the DDK.

The Visual C++ linker as shipped in the retail product does not support the generation of VxDs.

To generate VxDs, a developer must use the Windows 9x or Windows NT DDK build environment, which includes a linker that will generate VxDs.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:
194022 Visual Studio 6.0 service packs, what, where, why
194295 How to tell that a Visual Studio service pack is installed

Properties

Article ID: 195377 - Last Review: May 31, 2005 - Revision: 3.0
APPLIES TO
  • The Linker (LINK.EXE), when used with:
    • Microsoft Visual C++ 6.0 Enterprise Edition
    • Microsoft Visual C++ 6.0 Professional Edition
    • Microsoft Visual C++ 6.0 Standard Edition
Keywords: 
kbbug kbfix kbvs600sp3fix KB195377

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com