visual c++ - What is the difference between dllexport and dllimport? -


i'm looking simple, concise explanation of difference between these two. msdn doesn't go hell of lot of detail here.

  • __declspec(dllexport) tells linker want object made available other dll's import. used when creating dll others can link to.

  • __declspec(dllimport) imports implementation dll application can use it.

i'm novice c/c++ developer, perhaps someone's got better explanation i.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -