CreateClassID returns a new GUID as a String. Use StringToGUID to change it into a TGUID. This is the routine you would use to create a GUID at runtime in Delphi.
(Known issues / Documentation clarifications / Things to be aware of)
(Please provide links to articles/source code that show how to use this item.)
uses ComObj; function NewGUID: TGUID; begin Result := StringToGUID(CreateClassID); end;
(Please provide links to items specifically related to this item.)
(Please leave your name with your comment.)