|
Answer» Com Callable Wrapper :
- Create Assembly and compile with strong NAME.
- Register Assembly USING regasm <assembly name>
- Register Assembly in GAC using gacutil /i <assembly name>
- Use tlbexp <assemblyname.dll> to export Assembly as Type LIBRARY for COM.
Runtime Callable Wrapper :
- Create PUBLIC Key Token file using sn.exe –k <keyfilename.snk>
- Use tlbimp <TypeLibFileName> /KEYFILE: <keyfilename.snk>
/out: <AssemblyName.dll>
- Register Imported Assembly in GAC using gacutil /i
<AssemblyName.dll>
Com Callable Wrapper : Runtime Callable Wrapper :
|