Article ID: 922323 - Last Review: August 10, 2006 - Revision: 1.0 BUG: You receive many compilation error messages when you compile a Visual C++ application in Visual Studio 2005
On This PageSYMPTOMSConsider the following scenario:
CAUSEThis problem occurs because the default Stdafx.h file defines the WIN32_LEAN_AND_MEAN constant. When this constant is defined, necessary definitions for the Gdiplus.h file are excluded. WORKAROUNDTo work around this problem, comment out or delete the following line of code in the Stdafx.h file of the Visual C++ application project. STATUS Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONSteps to reproduce the problem
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
