WTL 8.1 in VC++ 11 - by J. J. Lee

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 731919 Comments
Status Closed Workarounds
Type Bug Repros 9
Opened 3/19/2012 2:07:50 AM
Access Restriction Public


Where is ATL::AtlGetCommCtrlVersion?  I could not find it in VC++11.
The following is broken in VC++11.
WTL 8.1 include\atlapp.h line 602
HRESULT hRet = ATL::AtlGetCommCtrlVersion(&dwMajor, &dwMinor);
AtlGetCommCtrlVersion is on VC++10 VC\atlmfc\include\atlbase.h line 7505.
Sign in to post a comment.
Posted by Microsoft on 3/20/2012 at 10:40 AM
Hello J.J. Lee

Thank you very much for reporting the issue. ATL introduce braking change in this release by removing AtlGetCommCtrlVersion function. The change is by design and in this case WTL needs to be fixed.

I looked at WTL sources and in atlapp.h there is a part of the library that provides mentioned function. As a temporary solution you should comment out the #ifdef’s that surrounding those functions.

Windows C++ Libraries Team
Lukasz Chodorski
Posted by MS-Moderator01 on 3/19/2012 at 3:57 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by MS-Moderator07 [Feedback Moderator] on 3/19/2012 at 2:33 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.