I have a weird problem with VS 2010 (Premium).
CUpdateUI
is not definedIf I manually insert #include
's (e.g. atlframe.h
for CUpdateUI
) I can make it work but this defeat the purpose of using VS2010!
What really annoys me is that I havent touched a single line of code, everything has been done through VS which, I hoped, should have cared for consistency!
Is it my fault? WTL fault? VS Fault? Any suggestion on how I could fix this?
Ok, solved thanks to the awesomeness of Stack Overflow!
It seems there's a bug in the WTL 8.1 Wizard. It doesn't define the WTL_USE_CPP symbol that is needed to make everything work correctly.
Head here:
How can I install WTL 8.0 Project Wizards in VS 2010?
and read Yiannis Spyridakis answer for the solution, if you have the same problem.