C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » .NET Framework »

Calling Com Components from .Net Application


Posted Date: 28 Sep 2004    Resource Type: Articles    Category: .NET Framework
Author: kavitha chowdharyMember Level: Silver    
Rating: 1 out of 5Points: 10



The .Net Application cannot directly call the Com Component. We use integer in vb 6.0 where as we use byte in VB.Net. We do have such differences. Therefore, The .net Application may not be able to read the interfaces exposed by the COM component directly. Therefore this COM component should be wrapped in such a way that the .Net application can understand this component.And this Wrapping can be done by RCW (Runtime Callable Wrapper) using TlbImp.exe utility. Once we import this namespace, .net application can call the COM component.
When a call is made by the .Net application, the call is transferred to the RCW which converts the call into COM understand convertions.Then the object will be created and the .Net application can access these objects just like other native object calls.



Responses

Author: Ravi Makwana    01 Oct 2004Member Level: Bronze   Points : 0
Tanks for such Valuable Information.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Difference b/w 'Dim obj as Emp' and Dim obj as New Emp
Previous Resource: Event Log Creation
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use