Trending News
2 Answers
- ?Lv 610 years agoFavorite Answer
意見 001 所言正確,這裡提出二個方法說明
方法一:上 MSDN 下載
Microsoft Visual C++ 2008 SP1 可轉散發套件 (x86)
Microsoft Visual C++ 2008 SP1 可轉散發套件 (x64)
於客戶端 (沒有裝 vc 的其他電腦 ) 安裝,
x86/x64 是視客戶端電腦的架構在安裝的,
這方法較一勞永逸。
方法二:從開發者電腦附上所需 dll
這裡再提供另一種方式,VC208 去
C:\Program Files\Microsoft Visual Studio 9.0\VC\redist
把所有的 *.dll 及 *.manifest都 copy 出來,注意要分 x86/x64 如果是用 console 寫的,實際上只有 copy 5 個就可以了, release mode:
Microsoft.VC90.CRT.manifest
msvcm90.dll
msvcp90.dll
msvcr90.dll
vcomp90.dlldebug mode:
Microsoft.VC90.DebugCRT.manifest
msvcm90d.dll
msvcp90d.dll
msvcr90d.dll
vcomp90d.dll若 console 又有用到 multi-thread,
可再多附上這個
Microsoft.VC90.OpenMP.manifest (release)
Microsoft.VC90.DebugOpenMP.manifest (debug)
vcomp90.dll (release)
vcomp90d.dll (debug)
如果還有用到 MFC、ATL... etc,再到
C:\Program Files\Microsoft Visual Studio 9.0\VC\redist
把需要的 dll / manifset 全都 copy 出來,記得一定要分
release / debug / x64 / x86,
我是懶人,我只分成 x86 / x64,
所有 release / debug 都放在其 x86/x64 裡面。
要執行的時候,把該 .exe 放在 .dll / .manifset 同一個資料夾底下便可執行。
- 10 years ago
您好
這是建議
windows xp <<<是否安裝合適的可轉散發套件
搜尋關鍵字: Visual C++ 2008 可轉散發套件
上述可被其他先進當成解答的參考意見
If I have seen further it is by standing on the shoulders of giants
2011/04/27