2012-05-25 46 views

回答

0

是的,你可以而且應該。環顧四周,我發現了一些可能有助於解釋你需要做什麼的文檔。

這些MFC鏈接庫輕輕微軟的TN033技術說明文件:http://msdn.microsoft.com/en-us/library/hw85e4bb.aspx

有關mfcsxxx.lib文件簡要總結爲:MFCSxx [U] [d] .LIB庫中配合使用MFC共享DLL。這些庫包含必須靜態鏈接到應用程序或DLL的代碼。

* The "U" designates that the library is built for Unicode. 
* The "D" designates that the library is built for Debug. 
* If the number in the library is 90, then it's compiled with and for Visual Studio 2008 (VC++ 9.0) 
* If the number in the library is 100, then it's compiled with and for Visual Studio 2010 (VC++ 10.0) 

注意的是,雖然mfcsxxx.lib文件具有靜態鏈接到輸出二進制碼,它們配合使用MFC的DLL版本 - 當靜態鏈接MFC時,[NU] afxcw [d ]使用.lib庫(其中「n」或「u」確定庫是否爲Unicode,並且在調試版本中使用「d」)。