CXX0017: Error: symbol "hr" not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nilam2477
    New Member
    • Feb 2008
    • 38

    CXX0017: Error: symbol "hr" not found

    I have an application which is converted from VC6 to VC7.1 (.net 2003)
    I'm trying to debug in .net 2003 i need to check the return value HRESULT value. I have declared hr as
    HRESULT hr = S_OK;
    When i add "hr" in watch window it displays a message CXX0017: Error: symbol "hr" not found
    When i try to set the cursor on HRESULT hr = S_OK line (using Set Next Statement) it does not execute that line.
    Could you please let me know what could be the reason? and why cant i see the hr value.
    Thanks
Working...