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# - Setting Server Bindings of IIS 6.0 Programmatically -

What do you think are the useless tags in HTML? -