Solved

Using DirectX

Posted on 2004-08-20
11
897 Views
Last Modified: 2013-12-26
Hi all,
I'm very new to game programming. However, have just come from Java development. So, I have a pretty good ensight into overall programming. I can also do beginner -to- newb C++.
I have just got into game programming (and want to start off with 3D programming. Because I hate 2D).
Anyways, I was searching eBay, and found a great book; "Special effects game programming in DirectX" brand new, for £15. (It's a BIG book).
However, it assumes that you already know how to use DirectX. Whereas, I do not!
With the book came the DirectX SDK, which I've installed.

However, I have no idea of how to go about using DirectX. I intend to use C++ to make the games. But, any tutorials, or ANYTHING related to DirectX that I should know, please give me! :o)

For example, the book contains snippets of code, which seems to be in C++, however, I don't know how to use them in my own programs!

Any one help please?
thanks,
-B
0
Comment
Question by:HandsomeBob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 20

Accepted Solution

by:
Venabili earned 100 total points
ID: 11855366
0
 
LVL 20

Expert Comment

by:Venabili
ID: 11855392
0
 
LVL 20

Expert Comment

by:Venabili
ID: 11855417
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Expert Comment

by:Venabili
ID: 11855696
And one tutorial that starts from the very beginning:
http://www.eastcoastgames.com/directx/intro.html
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 11859932
Cool, thank you very much, Venabili.
I decided that a tutorial 'that starts from the very beginning' would be best for me, (ie; http://www.eastcoastgames.com/directx/intro.html). So, I had a look, and it looks good. However, from there, I went to the Microsoft site, (the DirectX section) to download DirectX SDK 9c.
I downloaded the file from them, then ran it, and it downloaded and installed the 'common components', ect..
Then I rebooted, and... nothing!
I can't see ANY DirectX SDK, no program files directory, dedicated to it.. or any Add/Remove programs item.. NOTHING! :o\
I'm confused.
I had previously installed DirectX SDK 8. I then uninstalled it before downloading the dX SDK 9c version.
Perhaps that has caused some issue? :o\

Any ideas?
thank you.
-B
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 11859941
BTW; my OS: Windows XP home..
0
 
LVL 20

Expert Comment

by:Venabili
ID: 11867935
Argh..
I have no idea... I had never had similar troubles...
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 11868528
Okay thanks..
I've tried reinstalling the DirectX 8 SDK (which I have on disk). And, although it had installed fine last week (before I then uninstalled it), it won't install either now. :o\
After I extract the content from the disk, I then try and run the Setup program. However, a window keeps popping up, and giving me this message:

Title:       "16 bit Windows Subsystem"
Message: "C:\WINDOWS\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Window applications. Choose 'close' to terminate the application.

Buttons:   "Close"  &  "Ignore"

Then, no matter what button I press; this window closes, and nothing happens. That's it! :o\
Before I ask a new question in another section, do you know of this problem? Or more specfically, a resolution?

Thanks.
[r.D]
0
 
LVL 20

Expert Comment

by:Venabili
ID: 11868546
DrWarezz,

By the way using another people questions for your own questions is a little out of the rules:) And shows disrespect to the experts that are going to help you.

Nope... have no idea;(
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 11868564
Argh yeah.. Sorry Venabili! Cheers.
I shall go ask it else where...

thanks alot for your help!
[r.D]
0
 

Expert Comment

by:ms44cn
ID: 12771542
I guess your install files was interrupt.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question