Click here to Skip to main content
15,314,303 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to VC++. Can someone explain these errors and how to fix them?

error C2653: 'CHelloDlg' : is not a class or namespace name
error C2601: 'OnHello' : local function definitions are illegal
Posted
Updated 28-Apr-10 21:14pm
v3

1 solution

This means that compiler can't find CHelloDlg and OnHello. You need to include the header file for CHelloDlg to where ever you are using it.

-Saurabh
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900