Click here to Skip to main content
15,927,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding Items Pin
VinayCool14-May-06 21:11
VinayCool14-May-06 21:11 
GeneralRe: Adding Items Pin
Hamid_RT14-May-06 21:44
Hamid_RT14-May-06 21:44 
GeneralRe: Adding Items Pin
VinayCool14-May-06 22:24
VinayCool14-May-06 22:24 
GeneralRe: Adding Items Pin
Russell'14-May-06 22:29
Russell'14-May-06 22:29 
GeneralRe: Adding Items Pin
VinayCool14-May-06 22:31
VinayCool14-May-06 22:31 
GeneralRe: Adding Items Pin
Russell'14-May-06 23:11
Russell'14-May-06 23:11 
GeneralRe: Adding Items Pin
VinayCool15-May-06 0:24
VinayCool15-May-06 0:24 
GeneralRe: Adding Items Pin
Russell'15-May-06 0:39
Russell'15-May-06 0:39 
You have to write code like this (according to your variable definitions)
and find out what is the object with the real problem.

CStatusDlg status;<br />
status.Create(IDD_INDEX_STATUS_DIALOG);<br />
<br />
ASSERT(status.GetSafeHwnd() != NULL);<br />
ASSERT(status.m_OUT.GetSafeHwnd() != NULL);<br />
ASSERT(e != NULL);<br />
ASSERT(e->filename != "");<br />
...<br />
<br />
status.m_OUT.AddString(e->filename);


You must add every test that could be a problem during execution, and, remember, use DEBUG mode, not RELEASE.

If there is a bug the program will stops at the line that point the problem.
GeneralRe: Adding Items Pin
VinayCool15-May-06 1:04
VinayCool15-May-06 1:04 
GeneralRe: Adding Items Pin
Russell'15-May-06 1:13
Russell'15-May-06 1:13 
GeneralRe: Adding Items Pin
Russell'15-May-06 1:16
Russell'15-May-06 1:16 
GeneralRe: Adding Items Pin
VinayCool15-May-06 1:24
VinayCool15-May-06 1:24 
GeneralRe: Adding Items Pin
Russell'15-May-06 1:30
Russell'15-May-06 1:30 
GeneralRe: Adding Items Pin
VinayCool15-May-06 1:51
VinayCool15-May-06 1:51 
GeneralRe: Adding Items Pin
Russell'15-May-06 2:04
Russell'15-May-06 2:04 
GeneralRe: Adding Items Pin
Russell'14-May-06 23:06
Russell'14-May-06 23:06 
GeneralRe: Adding Items Pin
VinayCool14-May-06 23:26
VinayCool14-May-06 23:26 
GeneralRe: Adding Items Pin
Eytukan15-May-06 0:03
Eytukan15-May-06 0:03 
GeneralRe: Adding Items Pin
VinayCool15-May-06 0:06
VinayCool15-May-06 0:06 
GeneralRe: Adding Items Pin
Russell'15-May-06 0:16
Russell'15-May-06 0:16 
GeneralRe: Adding Items Pin
Eytukan15-May-06 0:17
Eytukan15-May-06 0:17 
GeneralRe: Adding Items Pin
Hamid_RT15-May-06 4:12
Hamid_RT15-May-06 4:12 
AnswerRe: Adding Items Pin
_AnsHUMAN_ 14-May-06 21:00
_AnsHUMAN_ 14-May-06 21:00 
AnswerRe: Adding Items Pin
Maximilien15-May-06 3:04
Maximilien15-May-06 3:04 
GeneralRe: Adding Items Pin
Hamid_RT15-May-06 4:13
Hamid_RT15-May-06 4:13 

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.