« links for 2006-01-17 | 回到主頁面 | 勇者鬥惡龍~ 裝備篇 »

January 18, 2006

Resolve some build error in VS2005


Designing .NET Class Libraries: API Usability

  1. Remove DirectX SDK
    Because VS2005 doesn't need DirectX SDK, so ~~~ if you use some library from DirectX. Please use

    #if (defined(_MSC_VER) && (_MSC_VER > 1310)) //For VS2005 Compiler
    ///.....
    #endif

    Which the version of compiler VS2003 is 1310, and VS2005 is 1400.

  2. Resolve "ambiguous symbol" build error from IXMLDOMElementPtr
    From Microsoft PRB 316317(PRB: Compiler Errors When You Use #import with XML in Visual C++ .NET) and 26914(PRB: Compiler Errors When You Use #import with XML) .

    We may use more precise directory path to import msxml.dll, such like import "C:\MSXML\msxml.dll".

    Also refer Belarce's post on CodeGuru. You can download the old version msxml.h and include it before you import <msxml.dll>



VC6相關問題

由 Evan 發表於 January 18, 2006
引用
本文的引用網址:


以下是前來引用的連結 'Resolve some build error in VS2005' 來自 Blog E
迴響
發表迴響









記住我的資訊?




(請輸入以下的驗證碼)