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?
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).
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.
, , , - ++ dll, ( ). , . - , . , vs nsis. . . , , .NET framework. , .
Source: https://habr.com/ru/post/1707052/More articles:Launching master pages from a layout directory - sharepointHow to open the source code base? - open-sourceЗагрузка фотографий - Как я могу сохранить наш сайт в безопасности/стабильном - uploadLanguage handling vs javascript? - javascriptWhat is a good way to recover from fread () failure? - c ++Groovy expando metaclass - metaprogrammingДобавление элемента в контекстное меню контекстного меню Internet Explorer - c++Metric for program size - web-applicationsWhat are the basic ASP.NET form security methods? - securityExamination of vulnerability and use - securityAll Articles