How to directly call a native function exported from a DLL?
Submitted by: AdministratorYes 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Dot Net Remoting Job Interview Questions And Answers
Top Dot Net Remoting Questions
☺ | How does assembly versioning in .NET prevent DLL Hell? |
☺ | What is the difference btw the following methods in .NET remoting? |
☺ | How to perform Remoting? |
☺ | What is an assembly and what does manifest consists? |
☺ | What do you mean by passport authentication and windows authentication? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |