Click here to Skip to main content
15,921,990 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: eVC++ 4.0 won't work.. Pin
Jonas Larsson22-Oct-03 5:04
Jonas Larsson22-Oct-03 5:04 
GeneralRe: eVC++ 4.0 won't work.. Pin
Kant22-Oct-03 5:22
Kant22-Oct-03 5:22 
GeneralRe: eVC++ 4.0 won't work.. Pin
Jonas Larsson22-Oct-03 20:07
Jonas Larsson22-Oct-03 20:07 
GeneralRe: eVC++ 4.0 won't work.. Pin
Kant25-Oct-03 5:37
Kant25-Oct-03 5:37 
GeneralRe: eVC++ 4.0 won't work.. Pin
Jonas Larsson26-Oct-03 20:28
Jonas Larsson26-Oct-03 20:28 
GeneralRe: eVC++ 4.0 won't work.. Pin
Jonas Larsson19-Nov-03 3:08
Jonas Larsson19-Nov-03 3:08 
GeneralRe: eVC++ 4.0 won't work.. Pin
João Paulo Figueira20-Oct-03 23:05
professionalJoão Paulo Figueira20-Oct-03 23:05 
GeneralAssertion error when opening a new document. Pin
VanHlebar20-Oct-03 16:05
VanHlebar20-Oct-03 16:05 
I am getting the following asserting when I attempt to open a document in my application.

"Wincore.cpp, line 571"

Now here is the code snippet that the error is occuring at:
void AFXAPI AfxHookWindowCreate(CWnd* pWnd)<br />
{<br />
	_AFX_THREAD_STATE* pThreadState = _afxThreadState.GetData();<br />
	if (pThreadState->m_pWndInit == pWnd)<br />
		return;<br />
<br />
	ASSERT(pWnd != NULL);<br />
	ASSERT(pWnd->m_hWnd == NULL);   // only do once<br />
<br />
	ASSERT(pThreadState->m_pWndInit == NULL);  // hook not already in progress<br />
	pThreadState->m_pWndInit = pWnd;<br />
}<br />


The assertion error is occuring at the line that is in bold italics. This is an application being developed in eVC++ 3.0 under a PPC2002 SDK. I can not figure out when this function is being called. My CDocument::Seralize() is being completed just fine, but sometime between its completion and the begining of my CView::OnDraw() the assertion is occuring. My CView::OnDraw() is completing and the view is being drawn, but the application halts at that point.

How can I debug this and what is this function attempting to do?

When my application first starts up it starts witha blank view if you will with a bmp image drawn in the view. Then the user can either open a previously created document or start a new one. If the user either opens a previous document or starts a new one, everything runs as expected. However, if the user trys to start a new document then cancels part way thru the process, then decides to open a previous document, that is when the assertion occurs. If it would help to give more detailed explanation of what occurs in the starting of a new document I can provide it, I just don't want to be to long if it isn't needed.

Thanks,
-Eric
GeneralRe: Assertion error when opening a new document. Pin
João Paulo Figueira20-Oct-03 22:46
professionalJoão Paulo Figueira20-Oct-03 22:46 
GeneralRe: Assertion error when opening a new document. Pin
VanHlebar21-Oct-03 1:24
VanHlebar21-Oct-03 1:24 
GeneralRe: Assertion error when opening a new document. Pin
João Paulo Figueira20-Oct-03 22:51
professionalJoão Paulo Figueira20-Oct-03 22:51 
Generalwake up PPC from standby position Pin
Member 62982320-Oct-03 7:05
Member 62982320-Oct-03 7:05 
GeneralNeed Database Implementation Pin
Chopper19-Oct-03 4:37
Chopper19-Oct-03 4:37 
GeneralProblems with Emulator Pin
BadJerry17-Oct-03 9:13
BadJerry17-Oct-03 9:13 
GeneralRe: Problems with Emulator Pin
slomoman18-Oct-03 3:29
slomoman18-Oct-03 3:29 
GeneralRe: Problems with Emulator Pin
BadJerry19-Oct-03 3:40
BadJerry19-Oct-03 3:40 
GeneralRe: Problems with Emulator Pin
nigs_krec13-Nov-03 19:08
nigs_krec13-Nov-03 19:08 
General.NET Embedded Systems Development Pin
Like2Byte17-Oct-03 9:10
Like2Byte17-Oct-03 9:10 
GeneralRe: .NET Embedded Systems Development Pin
BadJerry17-Oct-03 9:27
BadJerry17-Oct-03 9:27 
GeneralRe: .NET Embedded Systems Development Pin
Like2Byte17-Oct-03 17:30
Like2Byte17-Oct-03 17:30 
GeneralINI Files -Read/WritePrivateProfilestring Pin
#realJSOP17-Oct-03 4:24
professional#realJSOP17-Oct-03 4:24 
GeneralRe: INI Files -Read/WritePrivateProfilestring Pin
Atlantys17-Oct-03 10:26
Atlantys17-Oct-03 10:26 
GeneralRe: INI Files -Read/WritePrivateProfilestring Pin
#realJSOP17-Oct-03 11:38
professional#realJSOP17-Oct-03 11:38 
GeneralRe: INI Files -Read/WritePrivateProfilestring Pin
Atlantys17-Oct-03 13:26
Atlantys17-Oct-03 13:26 
GeneralRe: INI Files -Read/WritePrivateProfilestring Pin
#realJSOP18-Oct-03 0:32
professional#realJSOP18-Oct-03 0:32 

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.