Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Waterfall display Pin
Rajesh R Subramanian26-Aug-09 22:30
professionalRajesh R Subramanian26-Aug-09 22:30 
QuestionHow to do CoCreateInstance without CLSID Pin
deadlyabbas26-Aug-09 22:00
deadlyabbas26-Aug-09 22:00 
AnswerRe: How to do CoCreateInstance without CLSID Pin
Stuart Dootson26-Aug-09 22:16
professionalStuart Dootson26-Aug-09 22:16 
QuestionRe: How to do CoCreateInstance without CLSID Pin
CPallini26-Aug-09 22:18
mveCPallini26-Aug-09 22:18 
AnswerRe: How to do CoCreateInstance without CLSID Pin
deadlyabbas26-Aug-09 22:41
deadlyabbas26-Aug-09 22:41 
GeneralRe: How to do CoCreateInstance without CLSID Pin
CPallini26-Aug-09 23:00
mveCPallini26-Aug-09 23:00 
AnswerRe: How to do CoCreateInstance without CLSID Pin
ThatsAlok28-Aug-09 0:43
ThatsAlok28-Aug-09 0:43 
QuestionHow to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 21:09
tgc126-Aug-09 21:09 
Hi!

I'm executing 3rd party software from Windows service with CreateProcess() on a random environment. Sometimes the 3rd party software or the environment is not stable and a runtime error is thrown, eg. R6034.

The error will cause a popup window to appear on the desktop of interactive user. The service is running on a dedicated account and it doesn't seem to have any access to WinSta0 desktops, but the popup is still drawn on WinSta0\Default.

What I'd like to do, is to handle the error on the process calling CreateProcess and prevent the popup window from appearing to interactive user. I'm currently able to detect the error and handle it, but I still have to close the popup manually.

Is there any method to
1) prevent the runtime error popup window from appearing?
or
2) force the popup window to "appear" on the invisible windowstation/desktop of the service? (where it could be signalled to close)


Thanks in advance!
AnswerRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J26-Aug-09 22:13
Adam Roderick J26-Aug-09 22:13 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 22:40
tgc126-Aug-09 22:40 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J26-Aug-09 22:51
Adam Roderick J26-Aug-09 22:51 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 23:04
tgc126-Aug-09 23:04 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J26-Aug-09 23:29
Adam Roderick J26-Aug-09 23:29 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 23:56
tgc126-Aug-09 23:56 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J27-Aug-09 0:18
Adam Roderick J27-Aug-09 0:18 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc127-Aug-09 0:32
tgc127-Aug-09 0:32 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J27-Aug-09 1:09
Adam Roderick J27-Aug-09 1:09 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc127-Aug-09 1:34
tgc127-Aug-09 1:34 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J30-Aug-09 18:18
Adam Roderick J30-Aug-09 18:18 
QuestionTwo port communication [modified] Pin
raviteja202026-Aug-09 21:07
raviteja202026-Aug-09 21:07 
QuestionRe: Two port communication Pin
Adam Roderick J26-Aug-09 21:15
Adam Roderick J26-Aug-09 21:15 
AnswerRe: Two port communication Pin
raviteja202026-Aug-09 22:15
raviteja202026-Aug-09 22:15 
GeneralRe: Two port communication Pin
Adam Roderick J26-Aug-09 22:24
Adam Roderick J26-Aug-09 22:24 
AnswerRe: Two port communication Pin
Rajesh R Subramanian26-Aug-09 21:21
professionalRajesh R Subramanian26-Aug-09 21:21 
GeneralRe: Two port communication Pin
raviteja202026-Aug-09 22:22
raviteja202026-Aug-09 22:22 

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.