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

What is fundamental of published or precreated objects in remoting?

1011


Define singlecall activation mode in .net remoting?

982


About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?

2971


Difference between web services & remoting?

1018


What is the difference beween the registerwellknownservicetype() and registerwellknownclienttype()?

1049


What are the channels in .net remoting?

946


what is Client-activated object in remoting?

987


Define proxy in .net remoting?

989


What is the difference between the RegisterWellknownServiceType(), RegisterWellknownClientType(), RegisterActivatedServiceType() and RegisterActivatedClientType() in .net?

897


What are the advantage of remoting over web services?

910


What is objref object in remoting?

1158


What are the difference between static assemblies and dynamic assemblies?

1125


Elaborate the term WebService and how it differ from Remoting?

950


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

1053


How are the activation URLs different in case of SAO and CAO in .NET remoting?

2542