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 ?



what is the difference between Exportdll and Importdll ?..

Answer / 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

More Dot Net AllOther Interview Questions

What other than biginteger has been introduced in system.numerics namespace?

0 Answers  


How to work with Crystal Reports without using Visual Studio?

1 Answers  


what is a tool tip

2 Answers   Six Sigma,


What re interop services?

0 Answers  


8. Oop-Why and were we use Interfacse and Abstract class.

0 Answers   PCS,


Difference between throw exception and rethrowing ?

0 Answers  


What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?

0 Answers  


What is msil, and why should my developers need an appreciation of it if at all?

0 Answers  


What is the purpose of hard disk? : Dot net architecture

0 Answers  


Explain the race around condition? : .NET Architecture

0 Answers  


if i want to validate all the control on web page how i will do

2 Answers   PCS,


What does the term "green architecture" mean? : Dot net architecture

0 Answers  


Categories