Interview Questions

How do I register my code for use by classic COM clients?

C# Interview Questions and Answers


(Continued from previous question...)

54. How do I register my code for use by classic COM clients?

Use the regasm.exe utility to generate a type library (if needed) and the necessary entries in the Windows Registry to make a class available to classic COM clients. Once a class is registered in the Windows Registry with regasm.exe, a COM client can use the class as though it were a COM class.

(Continued on next question...)

Other Interview Questions