Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
palbano3-Jun-04 9:02
palbano3-Jun-04 9:02 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
vcplusplus3-Jun-04 10:19
vcplusplus3-Jun-04 10:19 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
Paul Ranson3-Jun-04 11:41
Paul Ranson3-Jun-04 11:41 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
elephantstar3-Jun-04 12:47
elephantstar3-Jun-04 12:47 
GeneralRetrieving a processes STARTINFO (or desktop) Pin
Nnamdi Onyeyiri3-Jun-04 8:43
Nnamdi Onyeyiri3-Jun-04 8:43 
GeneralRe: Retrieving a processes STARTINFO (or desktop) Pin
David Crow3-Jun-04 8:49
David Crow3-Jun-04 8:49 
GeneralRe: Retrieving a processes STARTINFO (or desktop) Pin
Nnamdi Onyeyiri3-Jun-04 9:00
Nnamdi Onyeyiri3-Jun-04 9:00 
GeneralService Restart Pin
Peter Weyzen3-Jun-04 7:56
Peter Weyzen3-Jun-04 7:56 
I've got a service.

On rare occasions, it crashes. When it does, it needs to restart.

Here's the details:
(1) it is configured in service-control to restart if failure.
(2) we don't want to rely on DrWatson or any external program to monitor it.
(3) we've tried using SetServiceStatus to signal error on shutdown.

How do we programmatically signal to the service control manager that this failed and it just needs to restart. We've had some problems where 'crash ui' get's invoked.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>

GeneralRe: Service Restart Pin
Anonymous3-Jun-04 18:43
Anonymous3-Jun-04 18:43 
GeneralRe: Service Restart Pin
palbano3-Jun-04 18:48
palbano3-Jun-04 18:48 
GeneralRe: Service Restart Pin
Peter Weyzen4-Jun-04 0:16
Peter Weyzen4-Jun-04 0:16 
GeneralSmall ComboBox Pin
doctorpi3-Jun-04 6:58
doctorpi3-Jun-04 6:58 
GeneralRe: Small ComboBox Pin
Antony M Kancidrowski3-Jun-04 9:35
Antony M Kancidrowski3-Jun-04 9:35 
GeneralRe: Small ComboBox Pin
Johan Rosengren4-Jun-04 3:39
Johan Rosengren4-Jun-04 3:39 
Generaldevice context for a menu Pin
Anonymous3-Jun-04 6:29
Anonymous3-Jun-04 6:29 
GeneralRe: device context for a menu Pin
Trollslayer3-Jun-04 7:09
mentorTrollslayer3-Jun-04 7:09 
QuestionWhat operation does MS Media Player perform while playing a video file through http? Pin
rickyxian3-Jun-04 6:02
rickyxian3-Jun-04 6:02 
AnswerRe: What operation does MS Media Player perform while playing a video file through http? Pin
Ricky Xian3-Jun-04 17:55
Ricky Xian3-Jun-04 17:55 
GeneralGetting the process ID of an externally running application Pin
Antony M Kancidrowski3-Jun-04 5:36
Antony M Kancidrowski3-Jun-04 5:36 
GeneralRe: Getting the process ID of an externally running application Pin
David Crow3-Jun-04 8:46
David Crow3-Jun-04 8:46 
GeneralRe: Getting the process ID of an externally running application Pin
Antony M Kancidrowski3-Jun-04 9:21
Antony M Kancidrowski3-Jun-04 9:21 
GeneralRe: Getting the process ID of an externally running application Pin
Blake Miller4-Jun-04 14:26
Blake Miller4-Jun-04 14:26 
GeneralRe: Getting the process ID of an externally running application Pin
Antony M Kancidrowski5-Jun-04 6:04
Antony M Kancidrowski5-Jun-04 6:04 
Generalusing multiple-language resource Pin
alexander chupeev3-Jun-04 5:28
alexander chupeev3-Jun-04 5:28 
GeneralRe: using multiple-language resource Pin
David Crow3-Jun-04 7:50
David Crow3-Jun-04 7:50 

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.