Joe wrote:getting 68 odd errors
I'm sorry you're having trouble. You did try to compile a simple win32 c++ application project that was created "empty"?
Joe wrote:the pathname indicates vis studio 8
That is the product number, just as Visual Studio 2008 is the same as Visual Studio 9.0.
Joe wrote:no references to stdlib.h in the InitDirect3D project unless one of the other h files includes it.
stdlib.h is one of the core c runtime headers, so many headers depend on it. It provides functions like _itoa(), _atoflt(), bsearch(), qsort(), and others that are familiar.
Joe wrote:I figured that the problem was some sort of version or define thing. So I built a Windows Win32 program that included stdafx.h and stdafx.cpp and then built that to ensure the basics were working. Then I copied those two files into my InitDirect3D project for chapter 4 and it built without error. So one of the defines in the stdafx.h did the trick.
I can't say I know what's going on, sorry.
Joe wrote:when I tried to run it could not locate d3d10.dll.
Now, here's the stupid part, I think. I know that DirectX 10 is intended for Win7 but I thought I'd try it on XP pro. That is probably the biggest problem, yes? I downloaded the latest and greatest DirectX SDK (Feb) and installed it. There's a lot of DirectX 9 stuff there and a few DirectX 10 things as well as DirectX 11 things.
Should I back up and either get the DirectX 9 book if I want to stay in XP, or should I bite the bullet and get Win7?
XP will not install the directx 10 runtime dll's because they rely on the new windows driver model, present in vista and win7. It's also interesting to note that the Feb2010 directx release no longer supports visual studio 2005 and before, though 2008 and 2010 are supported.
If you want to program for xp, then the directx 9 book will be great. Win7 and directx 11/10.x is great, though it's sometimes a pain in the apps when trying to run old games. (Like having to use a non-aero theme and leaving the "Screen Resolution" window open so Starcraft's colors look right. The disabling of aero-driven themes I can kind of understand, but leaving the "Screen Resolution" window open?!)
But just wait until tessellation becomes standard, the functionality demonstrated in this dx11 benchmark:
http://www.unigine.com/press-releases/091022-heaven_benchmark/