Click here to Skip to main content
15,901,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to convert bytes array into int Pin
Iain Clarke, Warrior Programmer17-Apr-08 1:57
Iain Clarke, Warrior Programmer17-Apr-08 1:57 
QuestionRe: how to convert bytes array into int Pin
CPallini17-Apr-08 2:06
mveCPallini17-Apr-08 2:06 
GeneralRe: how to convert bytes array into int Pin
Iain Clarke, Warrior Programmer17-Apr-08 3:14
Iain Clarke, Warrior Programmer17-Apr-08 3:14 
AnswerRe: how to convert bytes array into int Pin
Cedric Moonen17-Apr-08 2:00
Cedric Moonen17-Apr-08 2:00 
AnswerRe: how to convert bytes array into int [modified] Pin
CPallini17-Apr-08 2:01
mveCPallini17-Apr-08 2:01 
AnswerRe: how to convert bytes array into int Pin
krmed17-Apr-08 7:17
krmed17-Apr-08 7:17 
GeneralGetting crash report from freezed program Pin
rrrado16-Apr-08 23:36
rrrado16-Apr-08 23:36 
GeneralRe: Getting crash report from freezed program Pin
James R. Twine17-Apr-08 8:02
James R. Twine17-Apr-08 8:02 
   I do not think that an application can trap being terminated by Task Manager - too much potential for abuse there, IMHO.

   One thing you can try is to create your own watchdog.  Create a separate thread whoses sole purpose in life is to send a message (like WM_NULL) to the main message pump every 10 seconds or so using SendMessageTimeout(...) with an approporiate timeout.

   If the timeout expires, intentionally crash the application by doing something like dereferencing a NULL.  Maybe that will cause the SEH handler to fire and give you more information about the state of the application?

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



GeneralPlz, Help! win32 - edges on buttons Pin
Member 382549316-Apr-08 23:32
Member 382549316-Apr-08 23:32 
QuestionRe: Plz, Help! win32 - edges on buttons Pin
CPallini16-Apr-08 23:50
mveCPallini16-Apr-08 23:50 
JokeRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 1:14
professionalRajesh R Subramanian17-Apr-08 1:14 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Member 382549317-Apr-08 1:22
Member 382549317-Apr-08 1:22 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 1:35
professionalRajesh R Subramanian17-Apr-08 1:35 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Hamid_RT17-Apr-08 1:38
Hamid_RT17-Apr-08 1:38 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
CPallini17-Apr-08 1:48
mveCPallini17-Apr-08 1:48 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 1:53
professionalRajesh R Subramanian17-Apr-08 1:53 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Hamid_RT17-Apr-08 2:00
Hamid_RT17-Apr-08 2:00 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 2:03
professionalRajesh R Subramanian17-Apr-08 2:03 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
CPallini17-Apr-08 1:51
mveCPallini17-Apr-08 1:51 
JokeRe: Plz, Help! win32 - edges on buttons Pin
Hamid_RT17-Apr-08 2:00
Hamid_RT17-Apr-08 2:00 
JokeRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 2:01
professionalRajesh R Subramanian17-Apr-08 2:01 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
CPallini17-Apr-08 2:06
mveCPallini17-Apr-08 2:06 
JokeRe: Plz, Help! win32 - edges on buttons Pin
Cedric Moonen17-Apr-08 2:08
Cedric Moonen17-Apr-08 2:08 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Hamid_RT17-Apr-08 1:36
Hamid_RT17-Apr-08 1:36 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Member 382549317-Apr-08 3:17
Member 382549317-Apr-08 3:17 

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.