Click here to Skip to main content
15,889,735 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: AfxMessageBox Pin
Hamid_RT15-Jul-06 2:31
Hamid_RT15-Jul-06 2:31 
AnswerRe: AfxMessageBox Pin
ThatsAlok16-Jul-06 21:18
ThatsAlok16-Jul-06 21:18 
Questioninsert data in Edit Box Pin
miirsad15-Jul-06 0:49
miirsad15-Jul-06 0:49 
QuestionRe: insert data in Edit Box Pin
Hamid_RT15-Jul-06 2:40
Hamid_RT15-Jul-06 2:40 
AnswerRe: insert data in Edit Box Pin
miirsad15-Jul-06 3:52
miirsad15-Jul-06 3:52 
GeneralRe: insert data in Edit Box Pin
Hamid_RT15-Jul-06 4:50
Hamid_RT15-Jul-06 4:50 
AnswerRe: insert data in Edit Box Pin
ThatsAlok16-Jul-06 22:02
ThatsAlok16-Jul-06 22:02 
QuestionAssertation error Pin
Semion_N15-Jul-06 0:00
Semion_N15-Jul-06 0:00 
Hello,
When I'm running my project, I get an assertation message like you can see on the picture:
http://img82.imageshack.us/img82/9623/assertationerroreu6.jpg[^]

Here is a piece of code :
<br />
HWND CDataExchange::PrepareCtrl(int nIDC)<br />
{<br />
	ASSERT(nIDC != 0);<br />
	ASSERT(nIDC != -1); // not allowed<br />
	HWND hWndCtrl;<br />
   COleControlSite* pSite = NULL;<br />
	m_pDlgWnd->GetDlgItem(nIDC, &hWndCtrl);<br />
	if (hWndCtrl == NULL)<br />
	{<br />
	  // Could be a windowless OCX<br />
	  pSite = m_pDlgWnd->GetOleControlSite(nIDC);<br />
	  if (pSite == NULL)<br />
	  {<br />
		   TRACE(traceAppMsg, 0, "Error: no data exchange control with ID 0x%04X.\n", nIDC);<br />
		   ASSERT(FALSE);//the error is here<br />
		   AfxThrowNotSupportedException();<br />
	  }<br />
	}<br />
	m_idLastControl = nIDC;<br />
	m_bEditLastControl = FALSE; // not an edit item by default<br />
<br />
   return hWndCtrl;<br />
}<br />

the line of the errer is bolded.
Do anyone know how to fix this problem?

Thanking you in advance!

SnaidiS(Semion)
AnswerRe: Assertation error Pin
Hamid_RT15-Jul-06 2:32
Hamid_RT15-Jul-06 2:32 
GeneralRe: Assertation error Pin
Semion_N15-Jul-06 9:52
Semion_N15-Jul-06 9:52 
AnswerRe: Assertation error Pin
vladfein15-Jul-06 5:23
vladfein15-Jul-06 5:23 
GeneralRe: Assertation error Pin
Semion_N15-Jul-06 9:54
Semion_N15-Jul-06 9:54 
QuestionHOW TO READ EVENTS FROM EVENT VIEWER Pin
fx920014-Jul-06 23:20
fx920014-Jul-06 23:20 
AnswerRe: HOW TO READ EVENTS FROM EVENT VIEWER Pin
Hamid_RT15-Jul-06 2:51
Hamid_RT15-Jul-06 2:51 
QuestionHow to read dumpbin outputs [modified] Pin
shumonshumon14-Jul-06 23:15
shumonshumon14-Jul-06 23:15 
AnswerRe: How to read dumpbin outputs Pin
Jun Du15-Jul-06 5:46
Jun Du15-Jul-06 5:46 
GeneralRe: How to read dumpbin outputs Pin
shumonshumon15-Jul-06 8:07
shumonshumon15-Jul-06 8:07 
QuestionKeyborad Event Pin
A_Fa14-Jul-06 21:48
A_Fa14-Jul-06 21:48 
AnswerRe: Keyborad Event Pin
Eytukan14-Jul-06 22:23
Eytukan14-Jul-06 22:23 
GeneralRe: Keyborad Event Pin
A_Fa14-Jul-06 23:39
A_Fa14-Jul-06 23:39 
GeneralRe: Keyborad Event Pin
ThatsAlok16-Jul-06 21:22
ThatsAlok16-Jul-06 21:22 
Questioncompletely and full working free sms worldwide sending application in visual c++ !!!!! Pin
kondor121214-Jul-06 20:55
kondor121214-Jul-06 20:55 
AnswerRe: completely and full working free sms worldwide sending application in visual c++ !!!!! Pin
Steve Echols14-Jul-06 21:01
Steve Echols14-Jul-06 21:01 
AnswerRe: completely and full working free sms worldwide sending application in visual c++ !!!!! Pin
Hamid_RT14-Jul-06 21:17
Hamid_RT14-Jul-06 21:17 
GeneralRe: completely and full working free sms worldwide sending application in visual c++ !!!!! Pin
ThatsAlok16-Jul-06 21:51
ThatsAlok16-Jul-06 21:51 

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.