- #1
Superposed_Cat
- 388
- 5
Hi all, I main c# and XNA, but XNA is really outdated and requires the player (I'm using XNA for game making) to install it, i wanted to use something windows native so i decided to choose Direct X because i knew some c++. I copied and pasted code to open a blank window to look through but I get the error:
"Warning 1 warning C4627: '#include <windows.h>': skipped when looking for precompiled header use c:\users\e\documents\visual studio 2012\projects\first directx\first directx\first directx.cpp 2 1 first directx"
now tried a different code sample from a different site and had the same issue. I was under the impression that direct x being native wouldn't need special include paths. I have $(IncludePath);$(DXSDK_DIR)Include under additional include directories and $(LibraryPath);$(DXSDK_DIR)Lib\x86 under the using directories, what am i doing wrong? I have googled the issue and every variation of my problem takes me to the same stackoverflow page. thanks in advance.
"Warning 1 warning C4627: '#include <windows.h>': skipped when looking for precompiled header use c:\users\e\documents\visual studio 2012\projects\first directx\first directx\first directx.cpp 2 1 first directx"
now tried a different code sample from a different site and had the same issue. I was under the impression that direct x being native wouldn't need special include paths. I have $(IncludePath);$(DXSDK_DIR)Include under additional include directories and $(LibraryPath);$(DXSDK_DIR)Lib\x86 under the using directories, what am i doing wrong? I have googled the issue and every variation of my problem takes me to the same stackoverflow page. thanks in advance.