help,很奇怪的VC错误,用try ... catch(...)都拦不住。
foxnt 2003-04-09 03:26:40 try
{
char Time_str[sizeof(long)+1];
ZeroMemory(Time_str, sizeof(long)+1);
MessageBox("initz2");
ltoa(m_Time, Time_str,10);
MessageBox("init2");
m_TIMEEDT.SetWindowText(Time_str);
}
catch(...)
{
MessageBox("init Error");
};
执行的时候,能够看到消息框("initz2")的出现,然后看不到消息框("init2")的出现,估计就是在ltoa这里挂了,程序直接就退出来了,不知道什么原因,哪个大哥HELP。