nerdexam
GIAC

GSSP-NET · Question #240

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You are required…

The correct answer is D. 1. Create a class to hold DLL methods. See the full explanation below for the reasoning.

Question

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You are required to call an unmanaged method from your managed code with the help of platform invoke services. What will you do to accomplish this task?

Options

  • A
    1. Export a type library for your managed code
  • B
    1. Import a type library as an assembly
  • C
    1. Register your assembly by using COM
  • D
    1. Create a class to hold DLL methods

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    81% (22)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice