Click here to Skip to main content
16,009,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Synchronisation, timer and thread Pin
Watertreader19-Jul-05 9:24
Watertreader19-Jul-05 9:24 
GeneralRe: Synchronisation, timer and thread Pin
Blake Miller19-Jul-05 11:24
Blake Miller19-Jul-05 11:24 
Generalcannot save changes to source files Pin
htuba14-Jul-05 9:02
htuba14-Jul-05 9:02 
GeneralRe: cannot save changes to source files Pin
David Crow14-Jul-05 9:46
David Crow14-Jul-05 9:46 
QuestionCreate database at run-time? Pin
transoft14-Jul-05 6:56
transoft14-Jul-05 6:56 
GeneralProblem displaying Unicode characters Pin
JFarlette14-Jul-05 6:56
JFarlette14-Jul-05 6:56 
QuestionTime Delay Email Sending? Pin
bitpusher14-Jul-05 6:52
bitpusher14-Jul-05 6:52 
GeneralAvoiding windows "error message window" on my GUI Application Pin
jlvazquez14-Jul-05 6:13
jlvazquez14-Jul-05 6:13 
Hi,

We have an fairly complex GUI application presenting growing meters and videos.

The application crashes sometimes and the original programmer is not available to fix the bugs right now, before the release on the cosumer's site.

Independent of the bug fixing, which will be done some time in the future, our real problem is not the crashes themselves, but the fact that when it does crash, a window appears on the screen and it blocks the application.

We want to avoid that window appearing so we can launch the application on a infinite BAT loop like this:
@echo off
:loop
program.exe
goto loop

So everytime the app crashed for ANY reason it is up again with no user interaction. (This app is just a information display, not a user interactive one) We don't care about the state of the app, it receives information from the network so the faster it restarts, the sooner it gets functional again.

We are programming it on C++ and we have tried to capture the exiting signals (SIGSEGV, SIGFPE, etc) and doing an ExitProcess(), but this only works on some console based test apps we did, not in the crashing GUI display program we want to restart automatically.

How can we avoid this damned window?

We tried at system> advanced settings, but this only changes the type of window displayed, it does not make it disapear.

Thank you very much for your help,

Jose
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
David Crow14-Jul-05 6:29
David Crow14-Jul-05 6:29 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
jlvazquez14-Jul-05 6:35
jlvazquez14-Jul-05 6:35 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
Ravi Bhavnani14-Jul-05 6:50
professionalRavi Bhavnani14-Jul-05 6:50 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
Michael Dunn14-Jul-05 6:52
sitebuilderMichael Dunn14-Jul-05 6:52 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
Bob Stanneveld15-Jul-05 0:34
Bob Stanneveld15-Jul-05 0:34 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
jlvazquez19-Jul-05 1:39
jlvazquez19-Jul-05 1:39 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
Maximilien14-Jul-05 7:03
Maximilien14-Jul-05 7:03 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
jlvazquez14-Jul-05 7:15
jlvazquez14-Jul-05 7:15 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
David Crow14-Jul-05 7:19
David Crow14-Jul-05 7:19 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
jlvazquez18-Jul-05 0:28
jlvazquez18-Jul-05 0:28 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
basementman14-Jul-05 7:33
basementman14-Jul-05 7:33 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
jlvazquez17-Jul-05 23:14
jlvazquez17-Jul-05 23:14 
GeneralRe: Avoiding windows "error message window" on my GUI Application Pin
Toby Opferman14-Jul-05 18:13
Toby Opferman14-Jul-05 18:13 
GeneralCreating a file with permissions for Everyone Pin
cycoder14-Jul-05 6:12
cycoder14-Jul-05 6:12 
QuestionWhy is my DoModal call creating a box on my taskbar? Pin
bsummers14-Jul-05 5:14
bsummers14-Jul-05 5:14 
AnswerRe: Why is my DoModal call creating a box on my taskbar? Pin
Jose Lamas Rios14-Jul-05 5:32
Jose Lamas Rios14-Jul-05 5:32 
GeneralRe: Why is my DoModal call creating a box on my taskbar? Pin
bsummers14-Jul-05 5:38
bsummers14-Jul-05 5:38 

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.