How do you directly call a native function exported from a
DLL?
Answer Posted / moghan
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.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the types of .net remoting?
What are the types of remoting?
Difference between web services & remoting?
Define singleton activation mode in .net remoting?
When should we choose .net remoting over .net web services?
How do you directly call a native function exported from a DLL?
What are the advantage of remoting over web services?
How can we call methods in remoting asynchronously?
What are the security features in .net remoting?
what is Client-activated object in remoting?
What is the difference between remoting and webservice?
What are the different types of channels used by .net remoting and which is the best one?
What is the Difference between CAO and SAO in Remoting.
What are the ways to configure remoting objects before client can use them?
Define proxy in .net remoting?