none
Error of WDK

    Question

  • After installed WDK, I execute Win7 x86 checked build environment to verify the installation,error happened, my system operation is Win7 32, during installation,all setting is default.The WDKversion is GRMWDK_EN_7600_1(7600.16385.1).

    when I use MFC,I found follow problems.

    error C2144: 语法错误 : “char”的前面应有“)” c:\winddk\7600.16385.1\inc\api\driverspecs.h 356 SoraProject
    error C3861: “SAL_functionClass”: 找不到标识符 c:\winddk\7600.16385.1\inc\api\driverspecs.h 356 SoraProject
    error C2059: 语法错误 : “)” c:\winddk\7600.16385.1\inc\api\driverspecs.h 356 SoraProject
    error C2144: 语法错误 : “char”的前面应有“)” c:\winddk\7600.16385.1\inc\api\driverspecs.h 374 SoraProject
    error C3861: “SAL_acquire”: 找不到标识符 c:\winddk\7600.16385.1\inc\api\driverspecs.h 374 SoraProject
    error C2059: 语法错误 : “)” c:\winddk\7600.16385.1\inc\api\driverspecs.h 374 SoraProject

    Thanks!



    Monday, May 12, 2014 11:51 AM

All replies

  • We are not formally support using MFC in the release version 2.0. I think your question is not specific to SoraSDK build. You are trying to build a program with MFC headers and WDK headers, which are not a easy hacking job.

    Please use English compilation environment for better understanding and sharing. The line 356 is indeed:

    	__ANNOTATION(SAL_functionClass(__in char *);)

    The error messages tell you that it doesn't understanding '__in', 'SAL_functionClass', etc. So the definition is missing in your program.


    Tuesday, May 13, 2014 3:23 AM
    Answerer
  • Thanks for your answer, you are a hot heart men.

    In SDK1.5,there is a tool named HVT,what developed tools is used to create this tool?

    Tuesday, May 13, 2014 6:59 AM