CException, e;
         char ErrorStr[1024];
e->GetErrorMessage(ErrorStr,1024);
编译错误信息如下;
GetErrorMessage' : cannot convert parameter 1 from 'char [1024]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast