我正在将我们的引擎移植到Windows商店,我收到错误'CreateSemaphoreEx':找不到标识符。我正在为编译器使用命令行选项 / DWINAPI_FAMILY = WINAPI_FAMILY_APP和/ ZW,并包括< windows.h>。我还需要包含吗?我发现的文档(msdn.microsoft/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 ( msdn.microsoft/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标识符
发布评论