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

Which one is better WebService and Remoting ?

1038


define client activated objects (cao)?

1012


What does manifest consists?

892


What are the channels in .net remoting?

894


Define proxy in .net remoting?

946


Name the distributed systems available apart from .net remoting?

893


What are dynamic assemblies?

953


Define a process?

933


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

2927


What are the types of remotable objects?

942


What are the remotable objects in .net remoting?

909


Difference between web services & remoting?

959


Explain serialization formatters in .net remoting

912


When do we use delegates in your remoting applications?

896


Explain when we use web service and when we use remoting?

900