Hi, I'm trying to compile this code, and I'm pretty sure I just don't have my project configured properly, but I don't know what to do, and Google hasn't given me any headway this time... I actually copied and pasted the code from this site:
Getting the System Version (Windows)
and when I go to compile, I get this error:
1>c:\users\eric\documents\visual studio 10\projects\test002\test002\main.cpp(73): error C2065: 'PRODUCT_PROFESSIONAL' : undeclared identifier
1>c:\users\eric\documents\visual studio 10\projects\test002\test002\main.cpp(73): error C2051: case expression not constant
This seems strange to me, that it doesn't recognize this one particular value that is supposedly defined in the Windows library itself... What am I doing wrong?
I'm sure you need to know: Visual Studio 2010 Professional (Beta1), just opened a new empty Win32 project. Oh, and I'm running Windows 7 Professional 64 bit...
Thanks for any tips!