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 |
How does .net remoting work?
In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select top 5.
how to make and display a form without title bar?
when garbage collector come into picture. ?
What does the term "green architecture" mean? : Dot net architecture
What is the difference between an application and a program?
What is the difference between l1 and l2 cache? : Dot net architecture
What is static Constructor?
Differences between VS 2005, 2008 and 2010 ?
Explain how does .net mobile work? : Microsoft dot net mobile
HI THIS IS THIRUMAL. I AM COMPLETED MY MCA IN 2009 WITH 64%. NOW I AM LOOKING FOR A JOB(FRESHER)IN HYDERABAD.PLEASE IF YOU FIND ANY OPENINGS IN ANY COMPANY SEND IT TO MY MAIL ID PLEASE.. SKILL SET : C,C++,C#.NET,ASP.NET,ADO.NET,SQL SERVER, SSIS,SSRS EMAIL ID : THIRU104@GMAIL.COM THANKS & REGARDS D.THIRUMAL
What is cache coherency and how is it eliminated? : Dot net architecture