B
BlueGirlBer
Guest
Hello Everyone.
In my console project, instantiating a CString without initializing it ( CString a_str; ) is causing an "Access Violation" problem. I was directed to the atlsimpstr.h file and points at a line (line 234) in the CSimpleStringT( xxx* pStringMgr) function. The line indicated a pStringMnger trying to GetNilString().
This same code works fine in a Windows, MFC project and does not cause any access violation.
What could be causing this problem?
Thanks.
Blu.
Continue reading...
In my console project, instantiating a CString without initializing it ( CString a_str; ) is causing an "Access Violation" problem. I was directed to the atlsimpstr.h file and points at a line (line 234) in the CSimpleStringT( xxx* pStringMgr) function. The line indicated a pStringMnger trying to GetNilString().
This same code works fine in a Windows, MFC project and does not cause any access violation.
What could be causing this problem?
Thanks.
Blu.
Continue reading...