Merge multiple DLL files into one DLL file and merge the DLL files into the EXE file.

Source: Internet
Author: User

1 :) download http://download.microsoft.com/download/1/3/4/1347C99E-9DFB-4252-8F6D-A3129A069F79/ILMerge.msi

2 :) start-run-cmd "->" cd c: \ Program Files \ Microsoft \ ilmerge"

3 :)

3.1 merge file1.dll and file2.dll to destination. dll
Ilmerge/ndebug/Target: dll/out: C: \ destination. dll/log c: \ file1.dll c: \ file2.dll

Note:

1 :) "/out: C: \ destination. dll" is the merged dll Directory and name.

2 :) "C: \ file1.dll c: \ file2.dll" is the name to be merged

3.2merge file1.dll1_file2.dllto and myapp.exeto newapp.exe
Ilmerge/ndebug/Target: winexe/out: C: \ newapp.exe/log c: \ myapp.exe c: \ file1.dll c: \ file2.dll

Note:

1 :) When merging into exe, myapp.exe must be written before file1.dll and file2.dll.

 

--------------------------- HLS original

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.