void CHello2Dlg::OnButton1()
{
// TODO: Add Ayour control notification handler code here
AfxMessageBox("Simple message box.");
}
Compiling...
hello2Dlg.cpp
D:\myVC\eVC\hello2\hello2Dlg.cpp(65) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'char [20]'
Error executing cl.exe.