Questions when building DLLs in visual studio 2013

Asked 1 years ago, Updated 1 years ago, 95 views

Nice to meet you, I am currently using Visual Studio to create a simple application, but I have a question because there is one thing that I have a problem with.

There are three files written in C++ below.
·app.exe (see A.dll)
·A.dll (see B.dll)
·B.dll


If you only want to distribute app.exe + A.dll When building A.dll in Visual Studio 2013, is it possible to include B.dll?

I don't want to touch app.exe, so I'm looking for something other than ILMerge.

I look forward to your reply.

c++ visual-studio

2022-09-30 21:15

2 Answers

Suppose B.dll is provided by Microsoft.
The B.dll can be updated with Microsoft Update.
If you distribute DLLs from other companies in the form of "embedded" into your own product
When Microsoft (and Apple, Oracle, or anywhere) updates it,
The self-made product will need to be re-embedded and redistributed.

"Redistributable framework" is an installer prepared by the manufacturer. I think it's good manners to just put a set in (like vcredist_x86.exe).
Please update with Microsoft Update even if there are subsequent security updates.

In the first place, it is impossible to distribute only EXE and DLLs.


© 2024 OneMinuteCode. All rights reserved.