Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: fatal error U1034 Pin
jonesap518-Apr-06 8:50
jonesap518-Apr-06 8:50 
AnswerRe: fatal error U1034 Pin
jonesap518-Apr-06 10:38
jonesap518-Apr-06 10:38 
QuestionRe: fatal error U1034 Pin
jonesap518-Apr-06 8:19
jonesap518-Apr-06 8:19 
Questionhelp a beginner please~ how to make this software?it with dictionary and chat and file share and .... Pin
tBoai18-Apr-06 4:34
tBoai18-Apr-06 4:34 
AnswerRe: help a beginner please~ how to make this software?it with dictionary and chat and file share and .... Pin
Maxwell Chen18-Apr-06 8:09
Maxwell Chen18-Apr-06 8:09 
QuestionDoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 4:32
GrumbleWeedster18-Apr-06 4:32 
AnswerRe: DoModal in DropFiles Error ?! Pin
Stephen Hewitt18-Apr-06 4:43
Stephen Hewitt18-Apr-06 4:43 
GeneralRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 4:48
GrumbleWeedster18-Apr-06 4:48 
The assert is coming from wincore.cpp (void CWnd::AssertValid() const)
If I comment out the domodal part of the code it works fine, it's only when domodal is called that the problem occurs at the end of the function.

void CWnd::AssertValid() const<br />
{<br />
	if (m_hWnd == NULL)<br />
		return;     // null (unattached) windows are valid<br />
<br />
	// check for special wnd??? values<br />
	ASSERT(HWND_TOP == NULL);       // same as desktop<br />
	if (m_hWnd == HWND_BOTTOM)<br />
		ASSERT(this == &CWnd::wndBottom);<br />
	else if (m_hWnd == HWND_TOPMOST)<br />
		ASSERT(this == &CWnd::wndTopMost);<br />
	else if (m_hWnd == HWND_NOTOPMOST)<br />
		ASSERT(this == &CWnd::wndNoTopMost);<br />
	else<br />
	{<br />
		// should be a normal window<br />
                ASSERT(::IsWindow(m_hWnd));<br />
<br />
		// should also be in the permanent or temporary handle map<br />
		CHandleMap* pMap = afxMapHWND();<br />
		ASSERT(pMap != NULL);

GeneralRe: DoModal in DropFiles Error ?! Pin
Cedric Moonen18-Apr-06 4:55
Cedric Moonen18-Apr-06 4:55 
GeneralRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 5:07
GrumbleWeedster18-Apr-06 5:07 
QuestionRe: DoModal in DropFiles Error ?! Pin
David Crow18-Apr-06 5:54
David Crow18-Apr-06 5:54 
AnswerRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 6:23
GrumbleWeedster18-Apr-06 6:23 
QuestionRe: DoModal in DropFiles Error ?! Pin
David Crow18-Apr-06 6:39
David Crow18-Apr-06 6:39 
AnswerRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 7:12
GrumbleWeedster18-Apr-06 7:12 
QuestionRe: DoModal in DropFiles Error ?! Pin
David Crow18-Apr-06 7:35
David Crow18-Apr-06 7:35 
AnswerRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 7:37
GrumbleWeedster18-Apr-06 7:37 
QuestionRe: DoModal in DropFiles Error ?! Pin
David Crow18-Apr-06 7:53
David Crow18-Apr-06 7:53 
AnswerRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster18-Apr-06 11:21
GrumbleWeedster18-Apr-06 11:21 
GeneralRe: DoModal in DropFiles Error ?! Pin
David Crow19-Apr-06 2:27
David Crow19-Apr-06 2:27 
GeneralRe: DoModal in DropFiles Error ?! Pin
GrumbleWeedster19-Apr-06 2:45
GrumbleWeedster19-Apr-06 2:45 
QuestionRe: DoModal in DropFiles Error ?! Pin
David Crow18-Apr-06 4:45
David Crow18-Apr-06 4:45 
AnswerRe: DoModal in DropFiles Error ?! Pin
Russell'18-Apr-06 5:08
Russell'18-Apr-06 5:08 
Questionloadlibrary failed Pin
yongwpi18-Apr-06 4:26
yongwpi18-Apr-06 4:26 
AnswerRe: loadlibrary failed Pin
Cedric Moonen18-Apr-06 4:30
Cedric Moonen18-Apr-06 4:30 
GeneralRe: loadlibrary failed Pin
yongwpi18-Apr-06 7:11
yongwpi18-Apr-06 7:11 

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.