2017-06-18 82 views
0

我試圖運行一個.exe文件,該文件是用不同計算機上的可視化工作室製作的。我製作程序的計算機運行良好,但如果我在不同的計算機上運行它,它將無法運行。我得到這些錯誤。在不同的計算機上運行.exe文件(visual studios)

The code execution cannot proceed because ucrtbased.dll was not found. 
    Reinstalling may fix this problem. 

和...

The code execution cannot proceed because VRUNTIME140D.dll was not found. 
    Reinstalling may fix this problem. 

請注意,我用C++寫的代碼。我下載了C++ Redistributable(visual studio 2017),但它仍然無法工作。

謝謝。

回答

0

您需要爲VS版本安裝Visual Studio運行時(可重新分發的版本),用於在希望運行它的機器上構建應用程序。

+0

但我下載了,我仍然得到這些錯誤。我遵循這個網站的步驟:https://social.msdn.microsoft.com/Forums/vstudio/en-US/e653a57a-bc32-4134-87bf-df33058f0531/download-microsoft-visual-c-2017-redistributable?論壇= vssetup – jde

相關問題