Поделиться через


Guidgen Tool (Windows Embedded CE 6.0)

1/6/2010

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

Remarks

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.

See Also

Concepts

Utilities
GUIDs and UUIDs