Answers

Question and Answer:

  Home  MCSD.NET - 70-320 Exam

⟩ Suppose You are developing a Windows-based application that requires the use of a calculation functionnamed Calculate Value. This function includes the following signature int Calculate Value(int x) ;Calculate Value is located in an unmanaged DLL named Company Functions.dll, and is not partof a COM interface.You need to be able to use Calculate Value in your application.Which action or actions should you take? (Choose all that apply)A. Use Regsvr32.exe to register CompanyFunctions.dll.B. Use Visual Studio .NET to add a reference to CompanyFunctions.dll.C. To your application, add the following code segment using CompanyFunctions;D. To your application, add the following code segment [DllImport("CompanyFunctions.dll")]public static extern int Calculate Value(int x);

D. To your application, add the following code segment: [DllImport("CompanyFunctions.dll")]

public static extern int Calculate Value(int x);

 135 views

More Questions for you: