Answers

Question and Answer:

  Home  Dot Net Remoting

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

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.

 172 views

More Questions for you: