![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: May 2006
Posts: 6
Rep Power: 0
![]() |
Cheers, I'll rummage around a bit, see if i can dig anything up
![]() |
|
|
|
|
|
#12 |
|
Newbie
Join Date: May 2006
Posts: 6
Rep Power: 0
![]() |
I need help.[edit] If you right click on the source file in the solution explorer and go to properties it brings up a window with some of those trees. Go C/C++ -> General and it comes up with some things including "Additional dependancies" or womething along those lines... anyway, I click on that and add in the Include folder from the "Microsoft Platform SDK for Windows Server 2003 R2" folder in Program Files..... wait..... I haven't installed the wrong PSDK have I?? (I have an AMD 64). |
|
|
|
|
|
#13 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Get to the menu shown from Tools/Options and pick this tab. As you can see, there are directories listed for the various types of files (include, library, executable, etc.). Fix it up there.
![]() Your AMD runs 32-bit chit, right?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#14 |
|
Newbie
Join Date: May 2006
Posts: 6
Rep Power: 0
![]() |
as 32-bit programs like windows? of course
![]() Cheers for the help! mucho aprecciato. I did as you said.... I am supposed to be linking it to the Include folder? ------ Build started: Project: BasicDirect3DApp, Configuration: Release Win32 ------ Compiling... BasicDirect3DApp.cpp .\BasicDirect3DApp.cpp(5) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory Build log was saved at "file://c:\Documents and Settings\moleman\My Documents\C++\Visual Studio 2005\Learn DX\Chapter05\BasicDirect3DApp\Release\BuildLog.htm" BasicDirect3DApp - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== It don't seem to like that header file... |
|
|
|
|
|
#15 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I don't know where your stuff installed, of course, but here's mine:
My include file directories:
$(VCInstallDir)include
$(VCInstallDir)PlatformSDK\include\prerelease
$(VCInstallDir)PlatformSDK\include
$(FrameworkSDKDir)include
C:\Program Files\Microsoft Platform SDK\include
library file directories:
$(VCInstallDir)lib
$(VCInstallDir)PlatformSDK\lib\prerelease
$(VCInstallDir)PlatformSDK\lib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:\Program Files\Microsoft Platform SDK\libYou don't show your code. Make sure you have <windows.h>, not "windows.h", unless you move it to a local project directory. You will find that a lot of code you snag from elsewhere is going to have to be tweaked. Pain in the ass, but there you have it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|