Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 843111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:04:21+00:00 2026-05-15T06:04:21+00:00

The official documentation says they are optional. I know COM interop requires a unique

  • 0

The official documentation says they are optional. I know COM interop requires a unique identifier for each interface but every interface example I see has a GUID whether it’s used with COM or not? Is there any benefit to including a GUID if its not going to be used with COM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:04:22+00:00Added an answer on May 15, 2026 at 6:04 am

    I’ve noticed that some methods such as Supports (to determine if a class conforms to a specific interface) require that you define a GUID before you can use them.

    This page confirms it with the following information:

    Note: The SysUtils unit provides an
    overloaded function called Supports
    that returns true or false when class
    types and instances support a
    particular interface represented by a
    GUID.
    The Supports function is used in
    the manner of the Delphi is and as
    operators. The significant difference
    is that the Supports function can take
    as the right operand either a GUID or
    an interface type associated with a
    GUID
    , whereas is and as take the name
    of a type. For more information about
    is and as, see Class References.

    Here’s some interesting information about interfaces, which states:

    Why does an interface need to be
    uniquely identifiable? The answer is
    simple: because Delphi classes can
    implement multiple interfaces. When an
    application is running, there has to
    be a mechanism that will get pointer
    to an appropriate interface from an
    implementation. The only way to find
    out if an object implements an
    interface and to get a pointer to
    implementation of that interface is
    through GUIDs
    .

    Emphasis added in both quotes.

    Reading this entire article also makes you realize that QueryInterface (which requires a GUID) is used behind the scenes for reasons such as reference counting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've looked on Wikipedia, googled it, and read the official documentation, but I still
Beyond the official documentation, are there any recommended resources for learning to build jQuery
Here's the information according to the official documentation : There are four different pairs
So the official XML-RPC standard doesn't support 64-bit values. But in these modern times,
I have seen the official demos on lwjgl.org but I would like to see
Does anyone know the official method for submitting feedback on C# 4.0 so that
I should probably ask at the official Axis developer forum , but it seems
The official data sheet of Microsoft Surface says that there is no audio input
Is there an official convention for naming private fields in VB.NET? For example, if
Are there official MIME types for the .cs (C# source), .resx, .aspx, etc. files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.