VS2015 + WIN32_LEAN_AND_MEAN
Brought to you by:
nenadstefanovic
Try to compile WTL with VC++ 2015 and WIN32_LEAN_AND_MEAN option set. You'll get many errors including missing ShellExecute in the global namespace and things like:
atlprint.h(59): error C3646: 'infotype': unknown override specifier
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Anonymous
Sorry, WTL does not support WIN32_LEAN_AND_MEAN
since when!? I compile my solution using WIN32_LEAN_AND_MEAN since WTL 7 !
Even WTL 9.0 does support it since it was published.
Since forever. You can compile code that doesn't use anything that WIN32_LEAN_AND_MEAN excludes, but WTL itself doesn't check for it.
Here is a good explanation of WIN32_LEAN_AND_MEAN:
http://blogs.msdn.com/b/oldnewthing/archive/2009/11/30/9929944.aspx
Oh! Thanks a lot!
;-)