Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Cannot Open Recordset Pin
Astitva2313-May-09 12:10
Astitva2313-May-09 12:10 
GeneralRe: Cannot Open Recordset Pin
Stuart Dootson13-May-09 12:54
professionalStuart Dootson13-May-09 12:54 
QuestionNeed help about tab control!!!!!!!! Pin
happy5217713-May-09 4:46
happy5217713-May-09 4:46 
AnswerRe: Need help about tab control!!!!!!!! Pin
David Crow13-May-09 10:27
David Crow13-May-09 10:27 
QuestionApplication loses focus Pin
Tommy Svensson13-May-09 4:35
Tommy Svensson13-May-09 4:35 
AnswerRe: Application loses focus Pin
Randor 13-May-09 5:30
professional Randor 13-May-09 5:30 
AnswerRe: Application loses focus Pin
«_Superman_»13-May-09 19:09
professional«_Superman_»13-May-09 19:09 
QuestionApplication crash when application launch. Pin
Le@rner13-May-09 2:33
Le@rner13-May-09 2:33 
Hi all,

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...
<br />
	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 />
<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.

AnswerRe: Application crash when application launch. Pin
Cedric Moonen13-May-09 2:44
Cedric Moonen13-May-09 2:44 
GeneralRe: Application crash when application launch. Pin
Le@rner13-May-09 2:47
Le@rner13-May-09 2:47 
GeneralRe: Application crash when application launch. Pin
Cedric Moonen13-May-09 2:58
Cedric Moonen13-May-09 2:58 
GeneralRe: Application crash when application launch. Pin
Le@rner13-May-09 18:11
Le@rner13-May-09 18:11 
GeneralRe: Application crash when application launch. Pin
Cedric Moonen13-May-09 20:24
Cedric Moonen13-May-09 20:24 
GeneralRe: Application crash when application launch. Pin
Le@rner13-May-09 20:33
Le@rner13-May-09 20:33 
GeneralRe: Application crash when application launch. Pin
Cedric Moonen13-May-09 20:54
Cedric Moonen13-May-09 20:54 
QuestionRe: Application crash when application launch. Pin
David Crow13-May-09 3:13
David Crow13-May-09 3:13 
GeneralRe: Application crash when application launch. Pin
Cedric Moonen13-May-09 3:22
Cedric Moonen13-May-09 3:22 
GeneralRe: Application crash when application launch. Pin
Le@rner13-May-09 18:28
Le@rner13-May-09 18:28 
GeneralRe: Application crash when application launch. Pin
Cedric Moonen13-May-09 20:17
Cedric Moonen13-May-09 20:17 
GeneralRe: Application crash when application launch. Pin
Le@rner17-May-09 20:12
Le@rner17-May-09 20:12 
GeneralRe: Application crash when application launch. Pin
Le@rner17-May-09 20:22
Le@rner17-May-09 20:22 
QuestionAtomic operations involving __int64 on 32 bit machines Pin
Eikthrynir13-May-09 2:14
Eikthrynir13-May-09 2:14 
AnswerRe: Atomic operations involving __int64 on 32 bit machines [modified] Pin
Randor 13-May-09 4:47
professional Randor 13-May-09 4:47 
GeneralRe: Atomic operations involving __int64 on 32 bit machines Pin
Eikthrynir14-May-09 0:17
Eikthrynir14-May-09 0:17 
GeneralRe: Atomic operations involving __int64 on 32 bit machines Pin
Randor 14-May-09 6:59
professional Randor 14-May-09 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.