win10 c ++ program package

The following steps:
a first link connected dynamically compiled to generate exe;
2, exe dependent dll file found
using Process Explore to obtain depends dll file
open Procexp.exe, menu View-Lower Pane View-DLLs checked, display dll window and
run the program under the build environment, find the process necessary to view dll file, as shown, in which the system dll can be ignored, the required dll and exe copy to the next new directory;
3, packing
packing tool use Virtual Box Enigma,
the Enter the name of the Input file, select the EXE
the Enter the output file the name, the output file name
Click the Add button to add the dll file prepared
point files Options, check Enable files Virtualization and Compress files, OK
Finally, point Process complete, exe can run independently since then.
as the picture shows

 

Guess you like

Origin www.cnblogs.com/lovebay/p/11948939.html