区别一:
VC6.0: MessageBox("Are you sure ", "ask",IM_OK);或MessageBox("Are you sure “);
VS2010: MessageBox((LPCWSTR)L"dakai clicked",(LPCWSTR)L"Menu", MB_CANCELTRYCONTINUE);
区别二:
VC6.0:
STARTUPINFO si={sizeof(si)};
PROCESS_INFORMATION pi={0};
CreateProcess("D:\\Projects\\Draw\\Debug\\Draw.exe",NULL,NULL,NULL,NULL,NULL,NULL,NULL,&si,&pi);
VS2010:
STARTUPINFO SI = {sizeof(SI)};
PROCESS_INFORMATION PI ={0};
CreateProcess((LPCWSTR)L"D:\\Projects\\Draw\\Debug\\Draw.exe",NULL,NULL,NULL,FALSE,NULL,NULL,NULL,&SI,&PI);