Hi,
In one of the function we are using switch statement
as
switch
{
case HRESULT_FROM_WIN32( ERROR_INVALID_NAME ) :
}
The above code compiles fine in Vs2008 but its giving error when port to VS2010.
Error:error C2051: case expression not constant
Thanks in advance...
Regards,
Shyam