Original Post
I was just trying to get a basic framework layed out by following this older book and the code doesn't work (surprise, surprise). The code is giving me really wierd errors though, if I define something such as HINSTANCE hInst; it tells me I need a ';' before hInst. It's giving me 91 errors because like everyone one of my declares errors like that plus says HINSTANCE needs a variable when it's declared. Here's the source files I've included in my project d3d8.lib, d3dx8.lib, dinput.lib, and dxguid.lib although at this point I really shouldn't need any of them if I took out my #includes. Anyone have any ideas?