Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/142.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 使用2个第三方dll';s C++;_C++_Ilmerge - Fatal编程技术网

C++ 使用2个第三方dll';s C++;

C++ 使用2个第三方dll';s C++;,c++,ilmerge,C++,Ilmerge,我已经编写了一个使用2个第三方dll的程序,我想使用ILMerge将这两个dll合并为1个可执行文件。 我已尝试使用命令行: ilmerge /target:winexe /out:final.exe normal.exe 3rd_party_dll_1.dll 3rd_party_dll_2.dll 但这会返回以下错误: `Could not load assembly from the location 'C:\Users\...' Skipping and processing tr

我已经编写了一个使用2个第三方dll的程序,我想使用ILMerge将这两个dll合并为1个可执行文件。
我已尝试使用命令行:

ilmerge /target:winexe /out:final.exe normal.exe 3rd_party_dll_1.dll 3rd_party_dll_2.dll  
但这会返回以下错误:

`Could not load assembly from the location 'C:\Users\...' Skipping and processing trest of arguments. `  

我是否遗漏了某些内容,或者这些dll是否可能无法合并?

ILMerge在本机dll上不起作用,但有一个。

你说的“本机dll”是什么意思?@Nick dll不是用。netit是Win32 MFC dll。我认为这仍然有效。谢谢