C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




COM Interoperability


Posted Date: 10 Mar 2004    Resource Type: Articles    Category: Web Applications
Author: KasiviswanathMember Level: Gold    
Rating: Points: 7



COM (Component Object Model) is the binary specification for software code re-use. We can create components using VB, VC++ and .NET.

The .NET framework directly access only .NET component and it cannot access directly all other component, which is developed by VB or VC. The reason behind this is the "COM components have different internal architecture from .NET components", hence they are not innately compatible.

Creating the Runtime Callable Wrapper (RCW) is one way to access COM Component.

Two ways to create callable wrapper

1.Through the Visual Studio .NET IDE
2.Using Type Library Importer utility (tblimp.exe)

Execute the following code in the command line program.



tlbimp COM.dll /output:COMRCW.dll /verbose



Now the COM type library is converted into equivalent definitions for .NET wrapper assembly.





Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search 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: How to create Windows Service using VB.Net
Previous Resource: Dynamically moving a server control
Return to Discussion Resource Index
Post New Resource
Category: Web Applications


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use