Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.02 KB

File metadata and controls

28 lines (18 loc) · 1.02 KB
description Learn more about: Importing into an Application
title Importing into an Application
ms.date 11/04/2016
helpviewer_keywords
DLLs [C++], importing
importing DLLs [C++], applications
applications [C++], importing into
ms.assetid 9d646466-e12e-4710-8ad9-c819c0375fcc

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

Importing and Exporting