• 欢迎光临~

如何创建和编译动态链接库并且在另一应用程序中调用它。

开发技术 开发技术 2022-01-27 77次浏览

使用VS2019,大概步骤

  • Create a DLL project in Visual Studio.

  • Add exported functions and variables to the DLL.

  • Create a console app project in Visual Studio.

  • Use the functions and variables imported from the DLL in the console app.

  • Run the completed app.

参考:

Walkthrough: Create and use your own Dynamic Link Library (C++) | Microsoft Docs

喜欢 (0)
违法和不良信息举报电话:022-22558618 举报邮箱:dljd@tidljd.com