Announcement

Collapse
No announcement yet.

Interface Without Inheritance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Interface Without Inheritance

    Is it possible to define an interface in a class that doesn't inherit from any other interface at all?
    Fred
    "fharris"+Chr$(64)+"evenlink"+Chr$(46)+"com"

  • #2
    At a minimum, it must inherit from IUnknown.
    Forum: http://www.jose.it-berater.org/smfforum/index.php

    Comment


    • #3
      Is that true? or must it inherit from IUnknown or IDispatch when it is a COM Component?
      Sr. Software Development Engineer and Sr. Information Security Analyst,
      CEH, Digital Forensic Examiner

      Comment


      • #4
        They are COM classes, so they must always inherit from IUnknown, IDispatch or another class.
        Forum: http://www.jose.it-berater.org/smfforum/index.php

        Comment


        • #5
          Ah, I See. So no matter whether these are exposed or not they will always be COM type classes.

          Thanks Jose
          Sr. Software Development Engineer and Sr. Information Security Analyst,
          CEH, Digital Forensic Examiner

          Comment


          • #6
            Yes, thanks Jose.
            Fred
            "fharris"+Chr$(64)+"evenlink"+Chr$(46)+"com"

            Comment

            Working...
            X