none
\Program Files (x86)\Windows Kits\8.0\Include\um\winuser.h(1395): error : "ACCESS_MASK" is ambiguous 1> _In_ ACCESS_MASK dwDesiredAccess); RRS feed

  • 问题

  • \Program Files (x86)\Windows Kits\8.0\Include\um\winuser.h(1395): error : "ACCESS_MASK" is ambiguous
    1>        _In_ ACCESS_MASK dwDesiredAccess);

    2015年6月11日 4:44

答案

  • Hi TheWaldner,

    From the error message, ACCESS_MASK is defined ambiguous, it means that the ACCESS_MASK has been defined at least in two different place. Your error message is incomplete, the error message should tell us the others place ACCESS_MASK defined. If ACCESS_MASK  is defined in a namespace, we could use the namespace everywhere like this "xxx::" to avoid this error instead of "using namespace xxx". Hope this helps some.

    Shu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • 已标记为答案 Shu 2017 2015年7月9日 5:40
    2015年6月12日 1:40
  • http://stackoverflow.com/questions/26140360/how-to-overcome-a-double-declaration-of-struct-c-in-opencv-and-rtmaps

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • 已标记为答案 Shu 2017 2015年7月9日 5:35
    2015年7月9日 5:35

全部回复

  • Hi TheWaldner,

    From the error message, ACCESS_MASK is defined ambiguous, it means that the ACCESS_MASK has been defined at least in two different place. Your error message is incomplete, the error message should tell us the others place ACCESS_MASK defined. If ACCESS_MASK  is defined in a namespace, we could use the namespace everywhere like this "xxx::" to avoid this error instead of "using namespace xxx". Hope this helps some.

    Shu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • 已标记为答案 Shu 2017 2015年7月9日 5:40
    2015年6月12日 1:40
  • http://stackoverflow.com/questions/26140360/how-to-overcome-a-double-declaration-of-struct-c-in-opencv-and-rtmaps

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • 已标记为答案 Shu 2017 2015年7月9日 5:35
    2015年7月9日 5:35