Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

Hiding unmanaged classes in dual-mode component

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phil Atkin - 27 May 2005 13:32 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.