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