Question:You are creating a new .NET Framework application that will replace an existing unmanaged application. Although you have long-term plans to replace all unmanaged code, in the interim you need to call an unmanaged method in a COM object. How can you do this? (Choose two; each correct answer is part of a complete solution.)
 

A Create an instance of the Marshal class 

B Create a prototype method for the COM function 

C Add DllImportAttribute 

D Call the Marshal.Copy method 

+ Answer
+ Report
Total Preview: 1083

Copyright © 2024. Powered by Intellect Software Ltd