Export (0) Print
Expand All
2 out of 9 rated this helpful - Rate this topic

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
{
 
}

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.