How to include all dll's in exe?

前端 未结 4 650
不知归路
不知归路 2021-02-14 16:04

I have a Visual Studio 12 project; source code written in C++; it\'s an OpenCV project. I want to give my compiled program to someone else, but, on other PC, I getting an error

4条回答
  •  伪装坚强ぢ
    2021-02-14 16:41

    You can use the Windows Dependency Walker to determine which DLLs your program needs to run.

    Actually, this only tells you which DLLs your program needs to launch successfully. If you load DLLs dynamically (via LoadLibrary) then you are on your own.

提交回复
热议问题