Click here to Skip to main content
15,885,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: get the desktop(monitor) width and height using win32 Pin
NiceNaidu12-Jul-06 23:26
NiceNaidu12-Jul-06 23:26 
AnswerRe: get the desktop(monitor) width and height using win32 Pin
Hamid_RT13-Jul-06 0:08
Hamid_RT13-Jul-06 0:08 
GeneralRe: get the desktop(monitor) width and height using win32 Pin
kk_mfc13-Jul-06 0:31
kk_mfc13-Jul-06 0:31 
QuestionCatching Exceptions thrown by a process Pin
Pavan Rao12-Jul-06 22:54
Pavan Rao12-Jul-06 22:54 
AnswerRe: Catching Exceptions thrown by a process Pin
Jonathan [Darka]12-Jul-06 23:04
professionalJonathan [Darka]12-Jul-06 23:04 
AnswerRe: Catching Exceptions thrown by a process Pin
Stephen Hewitt13-Jul-06 1:20
Stephen Hewitt13-Jul-06 1:20 
GeneralRe: Catching Exceptions thrown by a process Pin
Pavan Rao13-Jul-06 18:57
Pavan Rao13-Jul-06 18:57 
GeneralRe: Catching Exceptions thrown by a process Pin
Pavan Rao13-Jul-06 21:27
Pavan Rao13-Jul-06 21:27 
When the child process ( sample.exe ) throws an exception, I am unable to get the Exception info thrown by the child process in the parent process's DEBUG_EVENT structure.

<br />
#include<stdio.h><br />
#include<windows.h><br />
<br />
STARTUPINFO startupInfo;<br />
PROCESS_INFORMATION processInformation;<br />
DWORD code;<br />
DEBUG_EVENT debug_event;<br />
BOOL val = 1;<br />
int main()<br />
{<br />
/** sample.exe is the child process */<br />
 BOOL  b = CreateProcess(NULL,"Sample.exe", NULL,NULL,FALSE,DEBUG_ONLY_THIS_PROCESS ,NULL,<br />
                                    NULL,&startupInfo,&processInformation);<br />
		val = WaitForDebugEvent(&debug_event, 2000);<br />
return 1;<br />
}<br />


Cheers
Pavan Smile | :)
QuestionFindFile in website Pin
includeh1012-Jul-06 22:37
includeh1012-Jul-06 22:37 
AnswerRe: FindFile in website Pin
eusto13-Jul-06 0:50
eusto13-Jul-06 0:50 
GeneralRe: FindFile in website Pin
Hamid_RT13-Jul-06 1:16
Hamid_RT13-Jul-06 1:16 
GeneralRe: FindFile in website Pin
eusto13-Jul-06 3:15
eusto13-Jul-06 3:15 
GeneralRe: FindFile in website Pin
Hamid_RT13-Jul-06 3:24
Hamid_RT13-Jul-06 3:24 
Questioni want to use menu in dialog box. Pin
Amit Agarrwal12-Jul-06 22:17
Amit Agarrwal12-Jul-06 22:17 
AnswerRe: i want to use menu in dialog box. Pin
*Dreamz12-Jul-06 22:28
*Dreamz12-Jul-06 22:28 
GeneralRe: i want to use menu in dialog box. Pin
Amit Agarrwal12-Jul-06 23:10
Amit Agarrwal12-Jul-06 23:10 
GeneralRe: i want to use menu in dialog box. Pin
*Dreamz12-Jul-06 23:29
*Dreamz12-Jul-06 23:29 
AnswerRe: i want to use menu in dialog box. Pin
_AnsHUMAN_ 12-Jul-06 22:32
_AnsHUMAN_ 12-Jul-06 22:32 
GeneralRe: i want to use menu in dialog box. Pin
Amit Agarrwal12-Jul-06 23:08
Amit Agarrwal12-Jul-06 23:08 
GeneralRe: i want to use menu in dialog box. Pin
_AnsHUMAN_ 12-Jul-06 23:28
_AnsHUMAN_ 12-Jul-06 23:28 
AnswerRe: i want to use menu in dialog box. Pin
wlwlxj12-Jul-06 23:18
wlwlxj12-Jul-06 23:18 
AnswerRe: i want to use menu in dialog box. Pin
Hamid_RT13-Jul-06 0:08
Hamid_RT13-Jul-06 0:08 
QuestionSystem Uptime Pin
Metal_Knight12-Jul-06 22:14
Metal_Knight12-Jul-06 22:14 
AnswerRe: System Uptime [modified] Pin
Jonathan [Darka]12-Jul-06 22:25
professionalJonathan [Darka]12-Jul-06 22:25 
GeneralRe: System Uptime Pin
Metal_Knight12-Jul-06 23:01
Metal_Knight12-Jul-06 23:01 

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.