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 Com Callable wrapper?when it will created?
Is .NET really support fully OOP Concept?
How do I write to the application configuration file at runtime?
In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select top 5.
What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile
How do we do authentications using atlas?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
What is .net transaction?
Explain hard disk and what is its purpose? : .NET Architecture
What is the mesi? : .NET Architecture
how can u manage sessions ?
i want to know that now a days which software course has demand and more opportunities please give me reply to my mail id