Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does a GUID do for an interface?

Status
Not open for further replies.

richardchaven

Programmer
Jan 13, 2003
161
US
What is the difference between an interface with a GUID and an interface without one?

I have hit several cases where I have to have a GUID, but I don't know exactly where the line is.

TIA

Cheers
 
It says:

GUIDs are used to identify an interface and they must be used when using Supports(), "as", QueryInterface(), or GetInterface() methods. Though GUIDs are not always required, it is best to always include them.

It does not say what one can and cannot do with interfaces beyond these specific calls. Or, conversely, what can one do with interfaces that do not have a GUID ?

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top