i have SDI type application,and split it in two columns.
for one column i m using a Treeview and for another one i m using a FormView.
The crash points to atlsimpstr.h line 107, trying to step through the debugger just tells me it is outside of the application, with ATLASSERT() inside CstringData in the method Release().
The debuger stops on the following "ATLASSERT()", obviously it expects nRefs to equal zero, and it is not so, but what does it refer to, I have no idea, or how do I find out either. This is inside "ATLSIMPSTR.H",
void Release() throw()
ATLASSERT( nRefs != 0 );
if( _AtlInterlockedDecrement( &nRefs ) <= 0 )
pStringMgr->Free( this );
My application's name is Test.EXE - here is the call stack dump at the point of the crash...
Test.exe!ATL::CStringData::Release() Line 107 + 0x25 bytes C++<br />
Test.exe!ATL::CSimpleStringT<wchar_t,0>::operator=(const ATL::CSimpleStringT<wchar_t,0> & strSrc="127.0.0.1") Line 300 C++<br />
Test.exe!CLeftView::ConnectNet() Line 640 + 0x2d bytes C++<br />
Test.exe!ThreadFunc(void * pT=0x01ee7d40) Line 773 C++<br />
Test.exe!_AfxThreadEntry(void * pParam=0x005eed14) Line 109 + 0xf bytes C++<br />
Test.exe!_callthreadstartex() Line 348 + 0xf bytes C<br />
Test.exe!_threadstartex(void * ptd=0x01eea230) Line 331 C<br />
kernel32.dll!760f4911() <br />
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] <br />
ntdll.dll!775ce4b6() <br />
ntdll.dll!775ce489() <br />
Hope someone can help me out here…
thanks n regards.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.