Quiz

1:The ___________________________ interface gives me a design-time surface when I create components.
A1: System.ComponentModel
2:The _____________ utility will create an interop assembly that I can use as a managed assembly in .NET.
A2: Tlbimp.exe
3:True or False: Using tlbimp.exe creates a managed assembly based on the type library of a COM component that I can reference in a .NET application. If I just directly reference a COM component in Visual Studio .NET, the code is just converted to .NET code and I don't need an interop assembly.
A3: False. If you simply reference the COM component from VS.NET, the RCW is created behind the scenes for you. You must still make sure that the COM component is correctly registered on the target machine. No code conversion is happening; the wrapper is simply created.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.115.154