Hi all,
I've use a CStringArray to store some CStrings in my application. Now I want to use another CStringArray on the same application. So I add another CStringArray instance on the class view, VC++ .Net 2003.
When I add and compile it don't give any error message. But when I run the code it gives the following error.
Unhandled exception at 0x00414ff3 in TimeZone.exe: 0xC0000005: Access violation writing location 0x00000020.
on following line of code,
m_pMainWnd = &dlg;
Why is that. Can you guys give me a clue.