COM+ Question: Download COM+ PDF

What are CCW and RCW?

Tweet Share WhatsApp

Answer:

Com Callable Wrapper
1)Create Assembly and compile with strong name.
2)Register Assembly using regasm <assembly name>
3)Register Assembly in GAC using gacutil /i <assembly name>
4)Use tlbexp <assemblyname.dll> to export Assembly as Type
Library for COM.

Runtime Callable Wrapper
1)Create Public Key Token file using sn.exe –k
<keyfilename.snk>
2)Use tlbimp <TypeLibFileName> /keyfile: <keyfilename.snk>
/out: <AssemblyName.dll>
3)Register Imported Assembly in GAC using gacutil /i
<AssemblyName.dll>

Download COM+ PDF Read All 29 COM+ Questions
Previous QuestionNext Question
Explain Disadvantages of com components?Explain what are wrapper Classes?