Article ID: 937466 - Last Review: July 6, 2007 - Revision: 1.0 Error message when you try to use Visual Studio 2005 to build a Microsoft Visual C++ native class library project: "LNK1104"
SYMPTOMSWhen you try to use Microsoft Visual Studio 2005 to build a Microsoft Visual C++ native class library project, you may receive an error message that resembles the following: LNK1104: cannot open file ‘FileName’ This problem occurs when you use the #import directive in the project to reference a mixed-mode DLL. CAUSEThis problem occurs because the Visual C++ build system cannot link to a library when a dependent DLL of that library is a managed DLL that has no native exports. The mixed-mode DLL contains both managed exports and native exports. However, the build system does not detect the native exports. WORKAROUNDTo work around this problem, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
