This code implements a manual logon announcement service. A separate announce program, typically executed inside a logon script, sends a message to this service, which detects it to posts a message box announcing the login. See the ..\ANNOUNCE directory. Once you compile the code, use the INSTALL program in the TOOLS directory to install it in the Services applet of the Control Panel. See the book for details. A typical installation command might look like this: ..\..\tools\install logonsvc "Logon Announcer" c:\code\ch12\logon\logonsvc\logonsvc.exe You must specify the complete and correct path to the executable. You must be logged in as an administrator for this to work. Once you have installed it, use the Services applet in the Control Panel to start and stop the service. See the book for details. To later remove the service, type: ..\..\tools\remove logonsvc Again, you must be logged in as an administrator for this to work. Use MAKEFILE to compile this service under the SDK, or LOGONSVC.MAK to compile it under Visual C++.