Generating the UUID

The first step in defining the interface is to use the uuidgen utility to generate a universally unique identifier (UUID). A UUID enables the client and server applications identify each other. The uuidgen utility (Uuidgen.exe) is automatically installed when you install the Platform Software Development Kit (SDK).

The following command generates a UUID and creates a template file called Hello.idl.

uuidgen /i /ohello.idl

Your hello.idl template will look like this (with a different UUID, of course).

[
    uuid(7a98c250-6808-11cf-b73b-00aa00b677a7),
    version(1.0)
]
interface INTERFACENAME
{
 
}