简体   繁体   English

用dll库编译程序

[英]Compiling program with dll libraries

I use WinInet libraries. 我使用WinInet库。 To make the program work properly, I must install the MS Redistributable Package, otherwise an error will pop up. 为了使程序正常工作,我必须安装MS Redistributable Package,否则会弹出一个错误。 Is it possible to compile a library with a program to make it work without installing the libraries? 是否可以使用程序编译库以使其工作而无需安装库?

The MS Redistributable package is the VC runtime, it is unrelated to the use of wininet.dll . MS Redistributable包是VC运行时,它与wininet.dll的使用无关。 An option would be to statically link the VC runtime ( MT compiler switch, instead of MD ). 一个选项是静态链接VC运行时( MT编译器开关,而不是MD )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM