Importing into an Application
You can import functions into an application using two methods:
Use the keywords
__declspec(dllimport)
in a function definition in the main applicationUse a module definition (.def) file along with
__declspec(dllimport)