2016-09-09 36 views
0

打開dplay.lib錯誤,而從Visual Studio 2006年遷移項目,2015年我們得到了一個鏈接過程不能在VS2015

ERROR: Error LNK1104 cannot open file 'dplay.lib' .

如何解決這個問題?

回答

0

dplay.lib是「DirectPlay」,它是deprecated,不再是最近部署的Windows部署。

DirectPlay will be supported in DirectX DLLs for the lifetime of Microsoft Windows XP, but from the autumn of 2007 2 the headers and libraries — vital components if developers wanted to develop new programs that utilize the technology — were absent from the DirectX SDK.

它的繼任者,Games for Windows - Live,是基於Xbox Live服務,並很可能你將需要修改代碼來支持它。還有其他網絡服務API,例如Steamworks,但是您需要修改代碼以支持它們。

此外,沒有Visual Studio 2006版本。