Register: Server Registration Utility

Click to open or copy the Register project files.

Click to open or copy the Include files (required).

Click to open or copy the Library files (required).

The Register sample builds a simple Register.exe utility that is used in subsequent code samples to invoke DLL- or EXE-housed COM servers and command them to register or unregister their components in the system registry.

For functional descriptions and a code tour of Register, see the Code Tour section in Register.txt (one of the Register project files). For details on the external user operation of Register, see the Operation and Usage sections of Register.txt.

In general, to set up your system to build and test the code samples in this COM sample series, see the samples\sdk\com\tutsamp\tutorial.txt file for details. The accompanying makefile (Makefile) is Microsoft NMAKE-compatible. To create a debug build, issue the nmake command in the Command Prompt window.

See the parent topic, COM Tutorial Samples, to download global tutorial files or any HTML files about this sample.

Building SDK Samples

This sample uses the following keywords:

cofreelibrary; coinitialize; couninitialize; defined; delaybox; errorboxid; failed; getprocaddress; loadlibrarya; loadstringa; makeintresource; messageboxa; skipansistring; succeeded; winexec; winmain; wsprintfa