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 |
What other than biginteger has been introduced in system.numerics namespace?
How to work with Crystal Reports without using Visual Studio?
what is a tool tip
What re interop services?
8. Oop-Why and were we use Interfacse and Abstract class.
Difference between throw exception and rethrowing ?
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
What is msil, and why should my developers need an appreciation of it if at all?
What is the purpose of hard disk? : Dot net architecture
Explain the race around condition? : .NET Architecture
if i want to validate all the control on web page how i will do
What does the term "green architecture" mean? : Dot net architecture