What is the difference between dllexport and dllimport?
__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 … Read more