|
-
January 21st, 2000, 05:28 AM
#1
Using existing interface in VB
I want to use VB to create a component. This component needs to expose a predefined interface described in a IDL-file with a set IID. Does anybody know if this is possible, and in case how it is done?
Thanks in advance
Pål
-
January 21st, 2000, 07:19 AM
#2
Re: Using existing interface in VB
I'd try to create a typelib from your ODL file using MKTypeLib utility, add that to the references of your project and then use VB's Implements feature.
(haven't done that before, though)
-
January 21st, 2000, 10:53 AM
#3
Re: Using existing interface in VB
For info on Implements, go to msdn.microsoft.com and check out the library. They have a book printed there called Hardcore Visual Basic. It has a very good explanation of how to use the Implements feature.
Kevin
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
|