Click here to Skip to main content
15,891,744 members
Articles / Desktop Programming / WTL

How To Create a Self-Restartable Application

Rate me:
Please Sign up or sign in to vote.
4.71/5 (29 votes)
21 Aug 2006CPOL3 min read 112.7K   4.6K   122  
This article describes the way to add restarting support to your Win32 applications.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by RestartableApp.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDD_MAINDLG                     129
#define IDC_RESTART                     1000
#define IDC_MSG                         1001
#define IDC_PROGRESS1                   1002
#define IDC_PROGRESS                    1002

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        201
#define _APS_NEXT_COMMAND_VALUE         32772
#define _APS_NEXT_CONTROL_VALUE         1003
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions