gpt4 book ai didi

c++ - cpp中dll的引用类

转载 作者:行者123 更新时间:2023-11-28 01:26:31 24 4
gpt4 key购买 nike

我是 cpp 的新手,有一个问题。我如何在 dll 中引用类?

#include <Interceptor.dll>

这就是我包含文件的方式。

我正在使用 Interceptor.dll,并希望从其中使用 Input 类。

最佳答案

如果您想使用库中的对象,您应该包含该库的 header 。这些 header 告诉您的编译器哪些对象(和函数)在库中可用。

关于c++ - cpp中dll的引用类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53523578/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com