Converts a human readable CLSID into a binary CLSID. This is the inverse of the StringFromCLSID function.

CLSIDFromString(cClsID)

Parameters

cClsId

A human readable CLSID e.g. "{002D2B10-C1FA-4193-B134-D86EAECC5250}".

Return Value

The CLSID (binary character).

Remarks

A CLSID is a globally unique identifier that identifies a COM class object. If your server or container allows linking to its embedded objects, you need to register a CLSID for each supported class of objects.

Example

Copy code
lcGuidString = StringFromCLSID(CLSIDFROMPROGID("Word.Application"))
lcClsId = CLSIDFromString(lcGuidString)
? lcClsId

See Also

Reference

CLSIDFromProgID
CreateGuid
CreateThreadObject
GetIUnknown
IsEqualGuid
ProgIDFromCLSID
RegisterActiveObject
RegisterObjectAsFileMoniker
RevokeActiveObject
StringFromCLSID

Used WinApi functions

CLSIDFromString