|
-
May 27th, 2004, 09:57 AM
#1
Thread Starter
Addicted Member
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
-
May 27th, 2004, 11:58 AM
#2
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|