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 |
Can I create my own permission set?
Explain .net mobile automatic paging? : Microsoft dot net mobile
How to improve the cache performance? : .NET Architecture
4. Wcf- what Asych and Sych call and how that works
Hi i need fast track course maximum to complete within a month....courses are Asp.net,c3,vb.net n sql server........at hyderbad location ..best institute n cost
question related to table havi colspan and row span
When should you use Abstract Class vs Interface while programming? Give 1 Example
3 Answers CSS Corp, Hexaware, T3 Softwares,
Explain how cache is used? : Dot net architecture
Difference between abstract class and interface
100 Answers Accenture, Altruist, Baba Group, CitiGroup, Fiserv, HCL, IBM, iGate, Infosys, Jean Martin, Karthik Industries, Microsoft, OnDLine, TCS,
Explain about appdomains?
What is different about namespace declaration when comparing that to package declaration in java?
Can you explain control extenders?