winnt.h

來源:互聯網
上載者:User

//

// Void

//

 

#define POINTER_64 __ptr64  //(add this line)

 

 typedef void *PVOID;

typedef void * POINTER_64 PVOID64  //(220 lines)

 

 

雖然如此解決了編譯問題,但總覺得不妥,於是又在網上搜了一下。發現也有人跟我一樣的解決,但在microsoft的論壇上發現問題其實是標頭檔搜尋順序引起的。由於我安裝了dxsdk9,dxsdk9的標頭檔搜尋順序在platformsdk之前。而在dxsdk9中也有basetsd.h標頭檔,而該檔案無POINTER_64的定義,因此編譯通不過。調整標頭檔搜尋順序後,編譯就無問題了。

 

http://hi.baidu.com/evanxu26/blog/item/c7d7d0820207559ef603a6b2.html

 

http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/51043152-3ab6-4a9e-b3c1-2dba8300d9bb/

 

源碼:

http://source.winehq.org/source/include/winnt.h

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.