Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

When do we use delegates in your remoting applications?

937


Define delegates and events?

969


What are the security features in .net remoting?

974


What are the steps to publish an object outside the service domain

920


Which one is better WebService and Remoting ?

1097


What is the proxy of the server object in .net remoting?

990


How can you configure a .net remoting object via xml file?

1034


What are the ways to renew lifetime leases of objects?

1041


What is the difference beween the registeractivatedservicetype() and registeractivatedclienttype()?

915


define client activated objects (cao)?

1050


What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?

2092


What are the different types of channels used by .net remoting?

926


Which Namespaces is used to achieve the Remoting?

1009


Define proxy in .net remoting?

971


What are the types of remotable objects?

986