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 is page_directive
Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture
How to improve the cache performance? : .NET Architecture
what are the lifetime events of a from?
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
What is the difference between abstract class and Interface? Give an example how will u write an abstract class using .NET Framework
how to add list of items in a web application and win application?
How to call .NET Web service from Java Appl. & Why ?
What should one do to make class serializable?
which would be the best to use inproc,outproc or sql server
What is a sealed Class? What is the differnce between sealed class and private class?
How does .net remoting work?