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 / .NET Framework / Interop / September 2004

Tip: Looking for answers? Try searching our database.

VCC+ and .Net assemblies

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ron Harter - 07 Sep 2004 21:54 GMT
Has anyone used the COM interop to acess .Net asseblies from an unmanaged
C++ application?
For various reasons we have a legacy VS 6.0 C++ application that we would
like to compile with VS .Net and without the /clr switch and using the COM
interop use the XML features available in the .Net Framework.

Since we are new to .Net we need a cookbook method to expose Ssytem.XML as
COM object and then add it to our VC++ project.

Any help is greatly appreciated sine we are unable to figure it out from the
microsoft documentation.

Regards

Ron Harter
Ronald Laeremans [MSFT] - 07 Sep 2004 22:18 GMT
Not really possible. Only managed APIs or type hierarchies that are designed
to be used through COM Interop reasonably support that scenario.

You do not need to compile your entire application with /clr to use the .Net
framework from some piece. If you want perfect isolation you can even just
put that code in 1 DLL and call that from the rest of your application.

Ronald Laeremans
Visual C++ team

> Has anyone used the COM interop to acess .Net asseblies from an unmanaged
> C++ application?
[quoted text clipped - 12 lines]
>
> Ron Harter

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.