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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -