ATL exception

Dear All,

who did ever meet the issue when I use CreateWnd function , exception - Unhandled exception at 0x005f0776 in ***.exe: 0xC0000005: Access violation reading location 0x00000000.

After debugging , I find the source code from atlmisc.h

operator LPCTSTR() const // as a C string
{
return m_pchData;
}


I am so disappointed by the exception , could you give me some suggestion how to solve the issue? thanks in advance
This is not an ATL exception, you are trying to read a null pointer in your code, which is obviously a bug on your side.
Topic archived. No new replies allowed.