memset(m_szCommand, 0, sizeof(m_szCommand));
以下是出错信息:
Unhandled exception at 0x1023ec7a (msvcr80d.dll) in nevigation.exe: 0xC0000005: Access violation writing location 0xcccd69ac.
程序似乎运行到下面这个语句,我看程序的逻辑不会运行到这里的啊,怎么跑到这里来了。
memset(m_szCommand, 0, sizeof(m_szCommand));
m_szCommand 0xcccd69ac <Bad Ptr> char [1024]
[0] CXX0030: Error: expression cannot be evaluated
[1] CXX0030: Error: expression cannot be evaluated
...
this 0xcccccccc {m_bLogToFile=??? m_bDateTimeStampFile=??? m_szLogFile=0xccccccd2 <Bad Ptr> ...} CAuroraHandling * const