CLSID, GUID, UUID are all unique identities of COM related fields. These fields are named as they are used in the applicale fields.
GUID
Globally Unique Identity. It is a 128bit integer and used to identify COM or other objects in applications with an unique value. GUID is generated uniquely with the combination of time, network MAC address and other unique fields.
CLSID
A CLSID is a globally unique identifier that identifies a COM class object. It is also an unique id and alias of GUID. COM class object component should create a registry in CLSID.
Registry Key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CLSID} InprocServer32 =
CLSID
Universally unique identity. It is same as GUID and used in IDL file.
uuid(a03d1422-b1ec-11d0-8c3a-00c04fc31d2f), helpstring("IMyInterface interface"), pointer_default(unique); dual, oleautomation ] interface IMyInterface : IDispatch { HRESULT MethodD([in] BSTR OrderIn, [out, retval] * pTakeOut); }; //end IMyInterface def [ uuid(a03d1423-b1ec-11d0-8c3a-00c04fc31d2f), version(1.0), helpstring("MyInterface Type Library"), ] library MyInterfaceLib { importlib("stdole32.tlb"); interface IMyInterface; [ uuid(a03d1424-b1ec-11d0-8c3a-00c04fc31d2f), helpstring("IMyInterface Component Class") ] coclass MyInterfaceComponent { [default]interface IMyInterface; interface IMyInterface }; //end coclass def }
AppID
AppID: Application Identity. A friendly human readable string id of a co-class. Identifies the AppID GUID that corresponds to the named executable.
Registry Entry HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppIDAppID = {AppID_GUID}
About our authors: Team EQA
You have viewed 1 page out of 67. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.
Questions index C Questions C++ Questions Win32 MFC COM/DCOM DLL Questions
Compilers & Editors
Download Visual Studio Download XCode Download Visual Studio Code Android studio install sdk Eclipse installer Best C compilers IDEs
Development system setup
Windows media creation tool MSDN subscription Ubuntu virtualbox
New updated posts
Why learn C? Calculate weighted average