Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: watching unicode strings during debugging Pin
David Crow12-Sep-05 3:54
David Crow12-Sep-05 3:54 
AnswerRe: watching unicode strings during debugging Pin
Maximilien12-Sep-05 1:14
Maximilien12-Sep-05 1:14 
Questionseperate window at run time for image Pin
a_david12311-Sep-05 22:48
a_david12311-Sep-05 22:48 
Question[Message Deleted] Pin
a_david12311-Sep-05 22:29
a_david12311-Sep-05 22:29 
QuestionRe: Regards1creating new window Pin
toxcct11-Sep-05 22:41
toxcct11-Sep-05 22:41 
QuestionMultiple IE instance and cookies problem Pin
Shamael11-Sep-05 22:28
Shamael11-Sep-05 22:28 
Questioncatching NavigateComplete2 using win32 Pin
yair2211-Sep-05 21:58
yair2211-Sep-05 21:58 
Questionm_pMainWnd is NULL in CWinApp::Run Pin
JensB11-Sep-05 20:48
JensB11-Sep-05 20:48 
Hi,

In my app::InitInstance()
<br />
{<br />
  ...<br />
  CMyDlg dlg;<br />
  m_pMainWnd = &dlg;<br />
  dlg.DoModal();<br />
  <br />
  return TRUE;<br />
}<br />
<br />
The 'CMyDlg' has an internal timer that gets activated after 1 second, and starts executing some actions.  After done, the timer is killed and 'CDialog::OnOK' is called.  This gets the dialog closed.<br />
<br />
In the app i need to return TRUE, else i got exit code != 0.  But now, i get this ennoying warning:<br />
Warning: m_pMainWnd is NULL in CWinApp::Run - quitting application.<br />
<br />
Any way to get this (annoying) warning out of the program?<br />
<br />
Greetings,<br />
Jens

AnswerRe: m_pMainWnd is NULL in CWinApp::Run Pin
Trollslayer11-Sep-05 21:48
mentorTrollslayer11-Sep-05 21:48 
AnswerRe: m_pMainWnd is NULL in CWinApp::Run Pin
PJ Arends11-Sep-05 22:19
professionalPJ Arends11-Sep-05 22:19 
GeneralRe: m_pMainWnd is NULL in CWinApp::Run Pin
JensB12-Sep-05 3:40
JensB12-Sep-05 3:40 
GeneralRe: m_pMainWnd is NULL in CWinApp::Run Pin
David Crow12-Sep-05 4:00
David Crow12-Sep-05 4:00 
QuestionHideWindow Pin
Nishad S11-Sep-05 20:43
Nishad S11-Sep-05 20:43 
QuestionStartup launch Pin
Asha Udupa11-Sep-05 20:16
Asha Udupa11-Sep-05 20:16 
AnswerRe: Startup launch Pin
ThatsAlok11-Sep-05 21:48
ThatsAlok11-Sep-05 21:48 
QuestionHow can i set map mode for print?? Pin
ebinaini11-Sep-05 19:39
ebinaini11-Sep-05 19:39 
QuestionHow to check the system whether the system have installed Acrobate Reader or not? Pin
Steve Chang11-Sep-05 19:15
Steve Chang11-Sep-05 19:15 
GeneralRe: How to check the system whether the system have installed Acrobate Reader or not? Pin
prasad_som11-Sep-05 19:53
prasad_som11-Sep-05 19:53 
AnswerRe: How to check the system whether the system have installed Acrobate Reader or not? Pin
David Crow12-Sep-05 4:03
David Crow12-Sep-05 4:03 
GeneralRe: How to check the system whether the system have installed Acrobate Reader or not? Pin
Dan Neely13-Sep-05 7:11
Dan Neely13-Sep-05 7:11 
QuestionManagementClass,WMI ?????? Pin
Tcpip200511-Sep-05 18:15
Tcpip200511-Sep-05 18:15 
AnswerRe: ManagementClass,WMI ?????? Pin
Christian Graus11-Sep-05 18:47
protectorChristian Graus11-Sep-05 18:47 
QuestionkSet a Static always ontop. Pin
tranglt11-Sep-05 18:09
tranglt11-Sep-05 18:09 
AnswerRe: kSet a Static always ontop. Pin
Christian Graus11-Sep-05 18:46
protectorChristian Graus11-Sep-05 18:46 
Questionconnect to database with Visual C++ 6.0 Pin
PhuLove11-Sep-05 17:31
PhuLove11-Sep-05 17:31 

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.