Hi,
I'm currently wrapping my "legacy" COM component with a managed layer, to
create a dual-mode component. The structure is very like the JrnlPost
sample and the "Exploring COM Interoperability with ATL and Managed
Extensions for C++" walkthrough.
When I add a reference to my dual-mode component in a client application,
however, the Object Browser and other tools show me not only my managed
wrappers but pretty well everything else in the project (such as ATL
classes, other COM interfaces and so on).
Is there a way to 'hide' all this stuff, or (better) to specify that _only _
certain classes should be visible in the assembly?
Thanks
Phil Atkin
William DePalo [MVP VC++] - 27 May 2005 15:15 GMT
> When I add a reference to my dual-mode component in a client application,
> however, the Object Browser and other tools show me not only my managed
[quoted text clipped - 4 lines]
> _
> certain classes should be visible in the assembly?
Take a look at this link to see if it helps:
http://support.microsoft.com/default.aspx?scid=kb;en-us;822330
If there remain visible things that you want to hide after relinking with
the switch then post again.
Regards,
Will
Phil Atkin - 27 May 2005 18:11 GMT
Will: On the button, thanks!
Phil
> Take a look at this link to see if it helps:
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;822330