I have the following lines of code:
if (!m_cmMyMap.Lookup(msgType, (CObject*&)pInfo))
This is obviously a bug in that pInfo is always NULL if the condition is true. The "!" should not be there. Anyway, when my app gets to pInfo->DoSomething, it just disappears instead of giving me an exception error. If I step through the code, VS give me a access violation error. Anyone know why it would just disappear without throwing an application error message?