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...

what is the difference between Exportdll and Importdll ?

Answer Posted / preeti

__declspec( dllexport ) - The class or function so tagged
will be exported from the DLL it is built in. If you're
building a DLL and you want an API, you'll need to use this
or a separate .DEF file that defines the exports (MSDN).
This is handy because it keeps the definition in one place,
but the .DEF file provides more options.

__declspec( dllimport ) - The class or function so tagged
will be imported from a DLL. This is not actually required -
you need an import library anyway to make the linker
happy. But when properly marked with dllimport, the
compiler and linker have enough information to optimize the
call; without it, you get normal static linking to a stub
function in the import library, which adds unnecessary
indirection.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about cookie less session state? : .NET Architecture

977


Explain how cache is used? : Dot net architecture

1080


Explain How to improve the cache performance? : Dot net architecture

941


Whate are resource files? How are they used in .net?

922


Session State and can i store desirialized object in state server, if yes how and if not why.

1786


What are the types of memory management? : Dot net architecture

889


Can you explain scriptmanager control?

1016


how to change the title of my window?

1892


how to delete the record using data reader

2488


Why am I getting an invalidoperationexception when I serialize an arraylist?

899


What is the mesi? : .NET Architecture

1026


How cache is used? : Dot net architecture

1001


Explain the Lapsed Listener problem in .net

1184


Explain difference between machine config vs. Web config? : .NET Architecture

971


What is .net mobile utility controls. : Microsoft dot net mobile

977