Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Visual C++ 1.52 Pin
David Crow24-Jan-07 10:35
David Crow24-Jan-07 10:35 
AnswerRe: Visual C++ 1.52 Pin
Joe Woodbury24-Jan-07 10:36
professionalJoe Woodbury24-Jan-07 10:36 
AnswerRe: Visual C++ 1.52 Pin
Reagan Conservative24-Jan-07 11:12
Reagan Conservative24-Jan-07 11:12 
AnswerRe: Visual C++ 1.52 Pin
Stephen Hewitt24-Jan-07 11:27
Stephen Hewitt24-Jan-07 11:27 
GeneralRe: Visual C++ 1.52 Pin
David Crow25-Jan-07 2:44
David Crow25-Jan-07 2:44 
GeneralRe: Visual C++ 1.52 Pin
jnhemley25-Jan-07 5:43
jnhemley25-Jan-07 5:43 
QuestionDisableing of standard menue items in MSOffice Applications Pin
Peter Fritze24-Jan-07 10:10
Peter Fritze24-Jan-07 10:10 
QuestionProperty Pages - Release Build Fail Pin
JBAK_CP24-Jan-07 10:03
JBAK_CP24-Jan-07 10:03 
Hi....I seem to have run into an issue with property pages under release mode (works fine in debug) and not really sure what is going on. Any pointers would be greatly apperciated


Debug Assertion Failed in 'dlgprop.cpp' the call stack seems to be pointing to the 'ASSERT' line in AddPage function

void CPropertySheet::AddPage(CPropertyPage* pPage)
{
..
..
..
ASSERT_KINDOF(CPropertyPage, pPage);
..
..
..
}

//CODE<br />
<br />
//------------------------------------------------------------------<br />
//Property Sheet class<br />
<br />
//***HEADER<br />
<br />
	// Pages that are contained by this sheet<br />
	CPage1* m_Page1;<br />
	CPage2* m_Page2;<br />
	CPage3* m_Page3;<br />
//-------------------------------------------------------------<br />
<br />
//-------------------------------------------------------------<br />
//Adding property pages in property sheet constructor<br />
<br />
//***CONSTRUCTOR<br />
<br />
	// Allocate property pages<br />
	m_Page1 = new CPage1(this);<br />
	m_Page2 = new CPage2(this);<br />
	m_Page3 = new CPage3(this);<br />
<br />
	// Add property pages to property sheet  <br />
	AddPage(m_Page1);  <<- SEEMS TO FAIL HERE----<br />
	AddPage(m_Page2);<br />
	AddPage(m_Page3);<br />
<br />
	SetWizardMode();<br />
//-------------------------------------------------------------

AnswerRe: Property Pages - Release Build Fail Pin
James R. Twine24-Jan-07 10:33
James R. Twine24-Jan-07 10:33 
QuestionRe: Property Pages - Release Build Fail Pin
David Crow24-Jan-07 10:39
David Crow24-Jan-07 10:39 
AnswerRe: Property Pages - Release Build Fail Pin
JBAK_CP24-Jan-07 11:01
JBAK_CP24-Jan-07 11:01 
GeneralRe: Property Pages - Release Build Fail Pin
James R. Twine24-Jan-07 11:07
James R. Twine24-Jan-07 11:07 
GeneralRe: Property Pages - Release Build Fail Pin
David Crow25-Jan-07 2:47
David Crow25-Jan-07 2:47 
QuestionSet desktop area size Pin
dmitriyf24-Jan-07 9:03
dmitriyf24-Jan-07 9:03 
AnswerRe: Set desktop area size Pin
Michael Dunn24-Jan-07 9:21
sitebuilderMichael Dunn24-Jan-07 9:21 
GeneralRe: Set desktop area size Pin
dmitriyf24-Jan-07 9:33
dmitriyf24-Jan-07 9:33 
Questionmktime(), Daylight Saving Time in 2007 and Beyond... Pin
ricksonderfan24-Jan-07 7:00
ricksonderfan24-Jan-07 7:00 
AnswerRe: mktime(), Daylight Saving Time in 2007 and Beyond... Pin
David Crow24-Jan-07 7:06
David Crow24-Jan-07 7:06 
GeneralRe: mktime(), Daylight Saving Time in 2007 and Beyond... Pin
ricksonderfan24-Jan-07 9:35
ricksonderfan24-Jan-07 9:35 
QuestionAssertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 6:03
Like2Byte24-Jan-07 6:03 
QuestionRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 6:13
David Crow24-Jan-07 6:13 
AnswerRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 6:43
Like2Byte24-Jan-07 6:43 
GeneralRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 7:10
David Crow24-Jan-07 7:10 
GeneralRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 7:28
Like2Byte24-Jan-07 7:28 
GeneralRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 8:18
David Crow24-Jan-07 8:18 

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.