0

我写了一个简单的 dll 并包含在下面的头文件中:

#include <windows.h>
#include <sddl.h>
#include <winsock.h>
#include <stdio.h>
#include <stdlib.h>
#include <mprapi.h>
#include <raserror.h>
#include <mprerror.h>
#include <strsafe.h>

所以我的 dll 在我的电脑上工作正常,但在另一台电脑上不工作。我在目标机器上安装了 vcredist_x86 但没有任何改变。我还使用了设置部署向导,没有任何反应。但是当我在目标机器上安装 Visual Studio 2005 时,我的 dll 运行良好。

所以这里有一个问题,我如何检索需要在目标机器上安装哪些先决条件?

我还必须提到我将我的代码编译为 c 代码“编译为 C 代码 (/TC)”。

抱歉我的英语不好,并提前感谢您的帮助。

4

0 回答 0