Results 1 to 2 of 2

Thread: Interfaces, Classes and ComInterop [resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    Interfaces, Classes and ComInterop [resolved]

    I only want 2 objects exposed to COM (IEngine and Engine), but somehow 4 objects are being exposed (IEngine, Engine, _IEngine, and _Engine). The _Objects are automatically generated by VB.NET (2002).

    How can I hide or not generate those objects?

    Code:
    <InterfaceType(ComInterfaceType.InterfaceIsDual), ComVisible(True)> _ 
    Public Interface IEngine 
      ... 
    End Interface 
    
    <ComClass(Engine.ClassId, Engine.InterfaceId, Engine.EventsId), ComVisible(True)> _ 
    Public Class Engine : Implements IEngine 
    ... 
    End Class
    Thanks,
    Last edited by Shurijo; May 27th, 2004 at 11:58 AM.
    -Shurijo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width