| |

VerySource

 Forgot password?
 Register
Search
View: 3385|Reply: 22

EXE relies on several DLLs to run, how to package DLLs in EXE

[Copy link]

1

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

Post time: 2020-3-13 21:30:01
| Show all posts |Read mode
The project EXE depends on several DLLs to run, how to package the DLL in the EXE.
Originally I wanted to make the DLL into a resource file, and the EXE was released to run, but because the EXE could not run without these DLLs, I gave up this idea.
I don't know if there are other ways to require the program to be implemented instead of using packaging tools.
Give some ideas.
Reply

Use magic Report

0

Threads

10

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-11 16:15:01
| Show all posts
Write an exe to release these dlls and release to run this exe
Reply

Use magic Report

0

Threads

30

Posts

22.00

Credits

Newbie

Rank: 1

Credits
22.00

 China

Post time: 2020-6-11 16:30:01
| Show all posts
There is no way.
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-6-12 18:00:01
| Show all posts
The DLL is made into a resource file, but when your exe is called, it is changed to a display call: LoadLibrary GetProcAddress.
Reply

Use magic Report

1

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

 Author| Post time: 2020-6-14 16:00:01
| Show all posts
These dlls are necessary libraries for mfc to run, they are not loaded in my program.
Reply

Use magic Report

1

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

 Author| Post time: 2020-6-14 20:15:02
| Show all posts
These dlls are necessary libraries for mfc to run, they are not loaded in my program.
In order to run on a computer without vs installed, I want to package these dlls in an exe
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-15 08:15:01
| Show all posts
Use winrar as a self-extracting EXE, put the program exe and dll in it
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-16 19:15:02
| Show all posts
MoleBox
Thinstall
themida xbundle
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

Post time: 2020-6-18 07:00:01
| Show all posts
In addition to the VS MFC library, the windows system comes with it, it is not necessary
Or you test them with your exe to the user
Or you use something like InstallShield
Reply

Use magic Report

1

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

 Author| Post time: 2020-6-20 21:45:01
| Show all posts
VS's MFC library. It's troublesome to copy together, it's not good-looking, there are too many files in the folder
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list