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 / Performance / November 2003

Tip: Looking for answers? Try searching our database.

COM And .NET Objects Calling Interop Assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Onno Ceelen - 21 Nov 2003 10:08 GMT
Hi,

I've a migration scenario where I rewrite a COM object to an .NET interop
assembly (so, still callable from COM). What is the impact if I continue my
step-by-step migration and have a scenario where my .NET objects start to
call .NET interop assemblies? Is there an overhead included?

For example, I've three objects: A (fully COM), B (interop assembly) and C
(.NET assembly).

A calls B and C calls B. From A to B is done through the CCW. Is C to B than
done through the RCW since my interop assembly still has a COM interface?

Is there a difference in B and C anyway, is there a wrapper involved?

Should a think of custom-managed wrappers in case of the C to B call?

Any input is very much appreciated (couldn't find the details in the MSDN
docs).

Regards,

Onno Ceelen
Phil Wilson - 21 Nov 2003 18:58 GMT
I think I've heard that the calling sequence .NET COM client =>RCW=>CCW=>.NET
COM Server isn't supported. A COM-callable wrapper is intended for use by COM
clients, not runtime-callable wrappers.
Signature

Phil Wilson [MVP Windows Installer]
----

> Hi,
>
[quoted text clipped - 19 lines]
>
> Onno Ceelen

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.