EQuestionAnswers.com Computer/Electronics Questions and Answers
C, C++, VC++, COM/DCOM, DLL and more
#Login #Sign up  Facebook Twitter TGoogle+
 

#Previous question #Index of COM/DCOM Questions #Next question

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\AppID
   
      AppID = {AppID_GUID}

You have viewed 1 page out of 66. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.

 Vote 0

Similar topics related to this section

# COM DCOM Interview Questions and Answers :: ALL Interview .com
# COM DCOM - COM DCOM Interview Questions
# COM interview questions | TechInterviews
# COM Interview Questions - CodeProject
# Com Dcom Interview Questions - Com and Dcom in Asp Net
# ATL Interview Questions and Answers :: ALL Interview .com
# ActiveX Interview Questions and Answers :: ALL Interview .com

* #1 webmaster Tue 29 Apr/2014 18:05:40(GMT)  Like 0 Unlike 0

Dear Users,

We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.

Regards,
Webmaster

Your message goes here:

Name:Guest
Email:anonymous@unknown.com
My Post:*
Secutiry Code: ******  *
Preview this compose before posting this in discussion forum.
 
Note:
  1. Use [Sxx] code to show smiles. Example [S02]
  2. Use [URL ], example [URL http://www.google.com/]
  3. To display code or un formatted text use [CODE] [/CODE]. Example: [CODE] printf("Hello world"); [/CODE]
 [S01]   [S02]   [S03]   [S04]   [S05]   [S06]   [S07]   [S08] 
 [S09]   [S10]   [S11]   [S12]   [S13]   [S14]   [S15]   [S16] 
 [S17]   [S18]   [S19]   [S20]   [S21]   [S22]   [S23]   [S24] 

Note: Only members are allowed, * fields are mandatory.