找不到CreateSemaphoreEx标识符 [英] CreateSemaphoreEx identifier not found
问题描述
我正在将我们的引擎移植到Windows商店,我收到错误'CreateSemaphoreEx':找不到标识符。我正在为编译器使用命令行选项 / DWINAPI_FAMILY = WINAPI_FAMILY_APP和/ ZW,并包括< windows.h>。我还需要包含
吗?我发现的文档(http://msdn.microsoft.com/en-us/library/windows/desktop/ms682446(v=vs.85).aspx)表示支持Windows Phone 8.1,我认为它对于Store来说是一样的具有整体"统一"的应用程序apis?
I'm porting our engine to windows store, I'm getting the error 'CreateSemaphoreEx': identifier not found. I'm using command line options /DWINAPI_FAMILY=WINAPI_FAMILY_APP and /ZW for the compiler, and including <windows.h>. Do I need to include anything else? The documentation I found ( http://msdn.microsoft.com/en-us/library/windows/desktop/ms682446(v=vs.85).aspx ) says Windows Phone 8.1 is supported, I assume it's the same for Store apps with the whole "unified" apis?
谢谢。
推荐答案
我刚刚创建了一个新的通用应用程序并尝试了这一点,没有任何问题。 你能发布使用CreateSemiphoneEx的代码吗?
I just created a new universal app and tried this, with no problems. Can you post your code that uses CreateSemiphoneEx?
这篇关于找不到CreateSemaphoreEx标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!