How to bypass the requirements of VC ++ Runtime in a dll?

I wrote a dll in VS2008, which I use in my C # application, but my users do not like that they need both the .NET framework and the VC ++ Runtime.

Is there a way to avoid the “mandatory” VC ++ Runtime in my C ++ dll?

+3
source share
3 answers

You can create your own DLL with a static connection (/ MT instead of / MD - in the properties → Configuration Properties → C / C ++ → Code Generation → Runtime Library).

+10
source

You can link a static runtime library with your DLL. That way, it will always be there, and there will be no .dll with C ++ runtime.

+3
source

, , , - ++ dll, ( ). , . - , . , vs nsis. . . , , .NET framework. , .

+1

Source: https://habr.com/ru/post/1707052/


All Articles