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
Define proxy in .net remoting?
What are the ways to configure remoting objects before client can use them?
What are the different types of channels used by .net remoting and which is the best one?
Define singleton activation mode in .net remoting?
What is fundamental of published or precreated objects in remoting?
Which one is better WebService and Remoting ?
Explain how does assembly versioning in .net prevent dll hell?
What is the proxy of the server object in .net remoting?
I am developing a project.Title is "Remote Demonstator".Using asp.net and C# Abstact: While administrator moving mouse and clicking on any link in the webpage that action will be performed in Server machine as well as in client machine.The client initially have to log-in and make a phone call to the admin. This is my project. How can i get this? I can create a website but this concept i have to implement in my website.How can i achive this? How to get client system control and how my mouse movings can be visible to client? I request all to please give me a basic idea or some hint. Advance Thanks.
Difference between .net remoting versus distributed com?
Which Namespaces is used to achieve the Remoting?
Explain serialization formatters in .net remoting
What are the threading types?
Name the distributed systems available apart from .net remoting?
What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?