|
-
May 18th, 1999, 05:13 AM
#1
How to add a tlb file into a ATL project and implement an interface define in this tlb
Visual C++/ATL 3.0
I have a TLB file which define some interface.
And I create an ATL control.
Now I want to implement an interface that was defined in the TLB.
For example:
interface ISomeInterface is define in TLB.
CSomeControl is an ATL control.
How an I implement ISomeInterface in control CSomeControl?
-
May 18th, 1999, 05:54 PM
#2
Re: How to add a tlb file into a ATL project and implement an interface define in this tlb
Hi,
Open the project workspace which cotains CSomeControl,go the class view and right click on CSomeControl.Choose the menu item impliment interface and browse for the typelib which contains ISomeInterface and dont forget to check the box near ISomeInterface.If u click on OK,u will find that the Wiz has derives CSomeControl from ISomeInterface and added the skeleton implementions for all the methods of ISomeInterface in teh header file for CSomeControl
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
|