pvdg42
2006-11-14 03:21:43 UTC
Looking at a VS 2005 MFC application and trying to use AfxMessageBox.
Took an example right out of the MSDN documentation:
AfxMessageBox("This is the message"); using default 0 arguments for 2nd and
3rd parameters.
Yields:
error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all
the argument types
e:\2006_fall_students\foltz\sketcher\sketcher\sketcher\sketcherview.cpp 164
What am I doing wrong?
Took an example right out of the MSDN documentation:
AfxMessageBox("This is the message"); using default 0 arguments for 2nd and
3rd parameters.
Yields:
error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all
the argument types
e:\2006_fall_students\foltz\sketcher\sketcher\sketcher\sketcherview.cpp 164
What am I doing wrong?