我是在 c++ 中使用 .dll 的新手,并试图在我的代码中加载一个 .dll 文件。dll 是“Extremely Simple Capture API”或 escapi.dll 。我从中获得 .dll 的站点不包含带有 .dll 的库文件,并且考虑到我不知道如何使用库文件加载 .dll,尝试在没有它的情况下执行此操作会加倍困难。我只想用电脑上的网络摄像头拍一张快照,然后在屏幕上显示图像。
我从 .dll 中使用的函数是:
int setupESCAPI(int height, int width);
int initCapture(SimpleCapParams *capture);
void doCapture();
void isCaptureDone();
void deinitCapture();
如果有人能给我简单的说明,告诉我如何在没有 .lib 文件的情况下包含这个 .dll,我将不胜感激。谢谢。
担