26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2..<strong>NET</strong> Interoperability<br />

(I)How can we use COM Components in .<strong>NET</strong>?<br />

Twist : What is RCW ?<br />

.<strong>NET</strong> components communicate with COM using RCW (Runtime Callable Wrapper).Following<br />

are the ways with which you can generate RCW :-<br />

√<br />

Adding reference in Visual Studio.net.See figure below (Adding reference using VS.<strong>NET</strong><br />

2005).Wrapper class is generated and placed in the “BIN” directory.<br />

Figure :- 2.1 Adding Reference using VS.<strong>NET</strong> 2005<br />

38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!