Share via


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 application

  • Use a module definition (.def) file along with __declspec(dllimport)

What do you want to do?

See Also

Concepts

Importing and Exporting