开发者

C++ and Windows , CRT

开发者 https://www.devze.com 2022-12-09 20:18 出处:网络
I am developing application application using C++ VS 2008. Now I need to either install respective MSM or install redist on customer machine to get this working.

I am developing application application using C++ VS 2008. Now I need to either install respective MSM or install redist on customer machine to get this working.

Is there any way in which I can jus开发者_C百科t copy those CRT dlls and get the application running.

Private assembly option seems to be complicate.


If you just depend on the CRT, then yes you can simply XCOPY deploy it as a private assembly and it will work just fine. Put it in the same folder as your application.

Doing this will prevent your application from taking advantage of servicing releases of the CRT though. This may or may not be an issue for you.


Take a look at this Microsoft article:

How to: Deploy using XCopy

0

精彩评论

暂无评论...
验证码 换一张
取 消