What should you do?

You are creating multiple enterprise applications by using the .NET Framework 3.5. All the applications will be deployed on a single computer.
You purchase a COM component from a third-party vendor. You plan to reuse a specific functionality of the component in the applications.
The COM component will be used by 25 developers who work on different applications.
You need to ensure that the types referenced in the COM component are compatible among the developers.
What should you do?

You are creating multiple enterprise applications by using the .NET Framework 3.5. All the applications will be deployed on a single computer.
You purchase a COM component from a third-party vendor. You plan to reuse a specific functionality of the component in the applications.
The COM component will be used by 25 developers who work on different applications.
You need to ensure that the types referenced in the COM component are compatible among the developers.
What should you do?

A.
Use the P/Invoke service.

B.
Obtain the primary interop assembly from the vendor.

C.
Use the [ComVisible(true)] attribute for all the application assemblies.

D.
Ensure that each developer creates a wrapper class for the COM component.



Leave a Reply 0

Your email address will not be published. Required fields are marked *