I am porting an old win app to metro, and I can see that CreateSemaphore() is included in <WinBase.h> (for metro)
So, I don't understand why is not finding it. I am including "$WindowsSDK_IncludePath" in the "Include Directories" seting of General Configuration.
The thing is, that despite what the documentation says, CreateSemaphore(...) is not defined, only CreateSemaphoreEx. So I created an inline method stud that wraps things up.
- Marked as answer by George Laskowsky Wednesday, November 30, 2011 6:39 PM
I'm glad you figured that out. The documentation you linked says that CreateSemaphore is not available to Metro style apps ("The topic you requested is shown below. This topic is not, however, included in this library.") and I don't see it listed in the Win32 and COM for Metro style apps list. Was there another link to it that we need to fix or is the not included notation confusing?