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 |
Explain about common language infrastructure?
Explain in-proc,out-proc and sql server.
4 Answers G7 CR Technologies, Ness Technologies,
What is the purpose of cache? How is it used? : Dot net architecture
What is biginteger and when would you use that?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure on hardware that converts the ascii value to binary? : .NET Architecture
can Array contains different datatypes ?
There are so many languages are already existing for developing application.Then what is the need of .net.
Explain domestic architecture artifacts? : .NET Architecture
Does application frame need host?
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
Can I create my own permission set?
Differences between VS 2005, 2008 and 2010 ?