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 is Opf3

0 Answers   Infosys,


what is just in time compilation?

1 Answers   Six Sigma,


what is stage management ? (ASP.NET)

5 Answers   Ness Technologies,


Differences between VS 2005, 2008 and 2010 ?

0 Answers   HCL,


What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile

0 Answers  


How do we do authentications using atlas?

0 Answers  


Write a query Where,Groupby,having clauses?

2 Answers   iGate,


I can't be bothered with cas. Can I turn it off?

0 Answers  


What does the term "green architecture" mean? : .NET Architecture

0 Answers  


What's new in the .net 2.0 class library?

0 Answers  


How do I write to the application configuration file at runtime?

0 Answers  


When do I need to use gc.keepalive?

0 Answers  


Categories