Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

bluemace

Tricks of the Windows Game Programming Gurus code and DirectX8 problems...

This topic is 5976 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Short and simple. When I installed DX8 most of the samples that were on the CD stopped to function. Most of the time I can''t even compile the programs using the source code. I am beginning to think this book is really not good for learning DirectX from scratch cause I feel lost since I was using the book as a reference and now I can''t even use it as a reference to give my game functionality using a joystick. ~Robert

Share this post


Link to post
Share on other sites
Advertisement
Um, Yeah, Tricks is now a really sucky book to learn DirectX from thanks to the fact that Microsoft totally switched up the way DirectX is structured after version 7.0 (the book uses DX6). Since DirectDraw is no longer in existence, that''s probably why the apps don''t compile, since Tricks basically covered DirectDraw for graphics. D''oh!

However it should be noted that Tricks isn''t just a DirectX book, Andre put in some really nice and detailed Win32, AI, Physics, Optomization, etc sections that definetly deserve a spot on your reference shelf.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I''ve got DX8 on my computer and the samples from Andre''s book still work.

Share this post


Link to post
Share on other sites
yeah on second thought I guess DX would be useless if it weren''t backwards compatible right? I know it is, know that I think about it. But can the DX8 SDK compile DX6 code? Or does DX8 just run previous DX apps - like you say the apps work for you - did you compile them or just run their .exes?

Share this post


Link to post
Share on other sites
quote:
Original post by Gaiiden
But can the DX8 SDK compile DX6 code?


yes, thats the whole point of DX'' architecture.
all your doing is requesting an interface to a previous version which is what DX is designed for(i.e. COM).
evan when DX 22 is released it will still support older interfaces.

you say you installed DX8, but could you get the samples to *compile* with DX6 or 7?, i know a lot of people get linker problems with the samples which has nothing to do with what DX version your running.

-------------------------------------
"bingo-bango, sugar in the gas tank!"

Share this post


Link to post
Share on other sites
I had a problem when I updated to DX 8 and was using Andre''s code also. I was using MSVC++ 5.0 to compile. Then I downloaded some updates at the microsoft homepage and it worked fine. They total to about 90 mb for the whole update ( its in 9 parts ). If I find the link I''ll post it later.

Share this post


Link to post
Share on other sites
I am using Visual C++ 6.0 and I have service pack 5 and most of the stuff in Chapter 9 doesn''t work when I run the executables and the game that the book builds up to in Chapter 14 doesn''t even work at all! The game switches to full screen mode, then you see the hourglass icon, then I get kicked back into Windows mode again. And yes, I can''t compile the code and I''m using the latest SDK which is DirectX 8.1. This situation is a bit odd to me since I never encountered it before.

~Robert

Share this post


Link to post
Share on other sites
The reason I want this to compile is so I can try to understand how to get my prototype game to use my MS Sidewinder so I don''t have to use the keyboard. Since the code doesn''t work in Chapter 9, then I''m a bit worried about using it and I''m new to this site so I don''t know where to look for help regarding adding joypad & rumble functionality to a game.

~Robert

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Because DX sucks!

Share this post


Link to post
Share on other sites
Try "search" here. I am sure I''ve seen a few web pages on the subject with clear guides how to solve this problem.

Good luck

Mvh Mario..

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!