Dot Net Remoting Question:

Download Job Interview Questions and Answers PDF

How to directly call a native function exported from a DLL?

Dot Net Remoting Interview Question
Dot Net Remoting Interview Question

Answer:

Yes we can call a native function exported from a Dll in
the following way,
I used C#.Net for Coding.

Add a Namespace that "System.Runtime.InteropServices"

Then use the following code,

Syntax:
[DllImport("dllname")]
here place the function in "dllname" Dll.

Download Dot Net Remoting Interview Questions And Answers PDF

Previous QuestionNext Question
Can we configure a .NET Remoting object via XML file?How does assembly versioning in .NET prevent DLL Hell?