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 serialization formatters in .net remoting
define client activated objects (cao)?
How to directly call a native function exported from a dll?
Can you pass SOAP messages through remoting?
What do mean by remotable objects in .net remoting?
What are dynamic assemblies?
Will clr handle unmanaged code or not?
How do you directly call a native function exported from a DLL?
what are the requirements to enable remote components to interact each other?
Explain how to perform remoting?
What is the proxy of the server object in .net remoting?
What are the security features in .net remoting?
What are the ways to configure remoting objects before client can use them?
What are the remotable objects in .net remoting?
About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?