-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 8.1 and VirtualFree #18
Comments
I don't get this behavior with the samples provided so I am going to assume this is user error. Thank you! |
This condition is in The reason you are getting this error is mostly likely because
This is one of the challenges of writing code that compiles with a broad range of toolsets & SDKs. The Windows 10 SDK is the only place that In public headers (i.e. those in
Internally, I have the library's
I guess the real question is: What in the As a short-term fix, just add the following somewhere before you include
|
Thank you Chuck! Your reply is very insightful and helps me better understand DirectXTK. It is such a clean, well thought out library. |
Hi Chuck. I wasn't sure if this was a bug but it seems suspect and I thought I would mention it. After upgrading to DirectXTK Nov 30 my Windows 8.1 apps throw a compile time error on this line:
if (_WIN32_WINNT >= _WIN32_WINNT_WIN10) || (defined(_XBOX_ONE) && defined(_TITLE)) || !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
endif
I am not very knowledgable of Windows/C++ but is it possible that VirtualFree only exists in Windows 10 libraries? If I comment out this line my Windows 8.1 UWP compiles fine. Otherwise, the error is that identifier "VirtualFree" cannot be found. Thanks, Shaun.
The text was updated successfully, but these errors were encountered: