Export (0) Print
Expand All

Guidgen Tool

Other versions of this page are also available for the following:
Windows Mobile Not SupportedWindows Embedded CE Supported
8/28/2008

The Guidgen Tool (Guidgen.exe) creates new globally unique identifiers (GUIDs), which are also known as universally unique identifiers (UUIDs). These are unique, 128-bit values. For more information, see GUIDs and UUIDs.

Guidgen.exe is an executable located in %_WINCEROOT%\Sdk\Bin\i386.

guidgen

When this command is run from a command prompt build window, the Create GUID dialog box appears. You can choose from the four available formats:

  • IMPLEMENT_OLECREATE(...)
  • DEFINE_GUID(...)
  • static const struct GUID = (...)
  • Registry Format

When you select the radio button corresponding to that format, the Create GUID dialog box displays an example of each format.

For more information about these formats, see Generating a Class Identifier for the Filter.

To create a new GUID
  1. From a command prompt, type the following command:

    guidgen
    
  2. In the dialog box, select the format you want to use, and then choose New GUID.

    The Guidgen tool creates a new GUID.

  3. To insert the new GUID into your source code, choose Copy to add it to the Clipboard, and then paste it into an active source code file.

  4. After you have finished creating new GUIDs, choose Exit to close the dialog box.

Community Additions

Show:
© 2014 Microsoft