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
Which one is better WebService and Remoting ?
define client activated objects (cao)?
What does manifest consists?
What are the channels in .net remoting?
Define proxy in .net remoting?
Name the distributed systems available apart from .net remoting?
What are dynamic assemblies?
Define a process?
About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?
What are the types of remotable objects?
What are the remotable objects in .net remoting?
Difference between web services & remoting?
Explain serialization formatters in .net remoting
When do we use delegates in your remoting applications?
Explain when we use web service and when we use remoting?