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 |
Does application frame need host?
When should you use Abstract Class vs Interface while programming? Give 1 Example
3 Answers CSS Corp, Hexaware, T3 Softwares,
How will you do windows authentication and what is the namespace?
8. Oop-Why and were we use Interfacse and Abstract class.
Explain the difference between inprocess vs out process session state : Dot net architecture
Explain about microsoft visual studio?
What is a memory management?
Can I customise the trace output?
11. diff b/w Dll and Exe
what is the difference between running an application with and without debugger?
Is .NET really support fully OOP Concept?
What is WPF and WCF?