以下代码在vc7下编译afxMessageBox输出“char *”,而在vc7.1(也就是visual stdio 2003)下编译后生成的代码afxMessageBox输出“char [22]”,请问前辈这是为什么?要想在vc7.1下也同样输出“char *”应该怎样做?是不是跟编译选项有关?谢谢!

char ch[22]="asdfgh";
const char *type = typeid(ch).name();
AfxMessageBox(type);