Archived

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

Teej

02.06 - Introducing DirectX

Recommended Posts

Guest Anonymous Poster   
Guest Anonymous Poster
even better people, paste this into getright:
http://download.microsoft.com/download/win98SE/SDK/7.0/W9X/EN-US/dx7sdk-700.1.exe

Share this post


Link to post
Share on other sites
ANDRiYkO    122
If there is no DirectX8 documentation, what is this below.
http://www.microsoft.com/downloads/release.asp?releaseid=25675

I may be wrong.


- ANDRiYkO

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Hi all!

I''m really confused! Everywhere I go, programmers tell me, that directX is fully down-compatible... Last week I made my first steps with DirectInput and tried to create a Input-Interface with CreateDirectInputEx() which should work in 7.0 . I use the SDK8.0 and the Compiler don''t accept this code... It will only work with CreateDirect8Input() ... why is this so an is there a way to use the 7.0 functions? ... many of my books related to DirectX are for Version 7.0 and so its really boring to always look up, what the functions in 8.0 are named...

Something else... Im so VERY HAPPY i''ve found your tut, Teej! Wow, this is the best stuff related on game-programming evers seen. THANK YOU SO MUCH!

(Hope, there are not too much mistakes in here... ;o] im a guy from austria, so english is not my mothertongue... be patient with me

Greetings, Wolfgang

Share this post


Link to post
Share on other sites
Weatherman    122
Hello, Wolfgang;

Try putting the following code at the beginning of your Globals.h file:

// These tell DirectX which versions we intend to use.
#define DIRECTINPUT_VERSION 0x0700
#define DIRECTDRAW_VERSION 0x0700
#define DIRECTSOUND_VERSION 0x0700

Good luck.


Edited by - Weatherman on June 6, 2001 11:08:06 AM

Share this post


Link to post
Share on other sites
Minion    118
DirectX is backwards compatable. And on the whole DirectDraw being overhauled ordeal: I read somewhere (I think it was somewhere on GDNet) that DirectDraw is still available, it''s just not being updated now that both graphics objects of the API have been combined. I may be wrong though.

Share this post


Link to post
Share on other sites
xjussix    122
Should I set the DirectDraw from the Control Panel to use Retail or Debug versions? When playing games, Retail-files are so much faster, but should I use debug-files when programming dx-apps?
Hope you guys understand

Share this post


Link to post
Share on other sites
mjs8472    122
Hi everyone... I''m new to the forum, and I think the tutorial looks really promising. I''m trying to download DirectX 8.0a from the Microsoft web site, and I''m having all kinds of problems. Help!

First of all, I know I need the user DLLs and the developer’s SDK. I went to MS''s Downloads section, Graphics and Multimedia, DirectX, DirectX 8.0a SDK. I''ve been trying to do the download from there all day. A few times it crapped out on me partway through (probably because of my occasionally cooperative ISP). Twice I''ve managed to get a 35 MB file named dx8a_sdk.exe, but when I try to open it, it says:

"Zip file is damaged, truncated, or has been changed since it was created. If you downloaded this file, try downloading again."

Been there, done that, banged my head against the wall. Is it me? Has anyone else seen this?

Also, if I somehow get this to work, where else do I need to go to get the user DLL''s?

Any advice would be greatly appreciated.

Thanks -
Mike


=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Klinger + Sloan = Section 39

Share this post


Link to post
Share on other sites
Weatherman    122
mjs8472:

You can get the DirectX 8 SDK on CD-ROM from Microsoft for the cost of shipping (about $8.00 US, I think). It includes everything - samples, documentation, retail/debug versions etc.

Why bang your head against the wall?

Share this post


Link to post
Share on other sites
mjs8472    122
Thanks for the quick response!

I was hoping to just spend one day downloading the SDK, instead of several days waiting for them to ship me a CD. And I was hoping that my download problems were common enough that someone out there might know what I (or Microsoft) was doing wrong.

Anyway, at this point I''d settle for getting the CD. But I can''t find such a CD anywhere on their site. And judging from the comments posted to the 8.0a download page, other people don''t think the CD exists either.

So I guess my question becomes: for all of you who''ve successfully acquired DirectX 8.0/8.0a... howdja do it? Did you do what I did, except that the download actually worked? If not, can you provide the URL from where you got it?

Thanks -
Mike


=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Klinger + Sloan = Section 39

Share this post


Link to post
Share on other sites
mjs8472    122
Thanks Dionysis.

Is the DirecX 8.0a SDK download file dx8a_sdk.exe really 137 MB? Am I only getting 35 MB because my ISP craps out? The last time I tried, the download window suddenly jumped from about 25% done to 100% done, and it acted like it had finished a normal download. My ISP's connection was still intact. But I got a corrupt or incomplete zip file again.

Sorry to keep going on and on about this, but I'm dead in the water until I get this resolved...

Mike


Edited by - mjs8472 on June 13, 2001 10:35:21 AM

Share this post


Link to post
Share on other sites
Dionysis    122
mjs8472,
Yep, the full SDK is 137MB... I''m not sure why your download would jump from 25% - 100%, try using one of those programs I mentioned and see if it continues doing it.
There''s also a download for the partial SDK on the microsoft site so you can download it in pieces and only take what you need. For example, you don''t need the Visual Basic related files if you''re not gonna be using it, so this might be a better alternative for you

Share this post


Link to post
Share on other sites
mjs8472    122
Dionysis,

Since my last post I've arranged to get the entire DirectX 8.0 download from a friend. But thanks for your help.

Mike


Edited by - mjs8472 on June 13, 2001 8:53:32 PM

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
I could use some help installing the DirectX 8.0 SDK. When I am in the middle of installing it, it gets to 22% complete then it jumps to a dos screen (sets up the Visual Studio compiler environment), and comes back and says I''m finished. Even though I chose a complete installation, I am missing half of the samples, the common files, the DirectX Control Panel utility, etc. Any ideas?

Thanks,

Saetrum

Share this post


Link to post
Share on other sites
Tempest    138
Hi folks. I''m getting a late start here, and am coming around a little slow. I have a question concerning DirectX. If I currently have DirectX installed on my system due to the games I play using it, is it necessary to get the download stuff, or how does it work? I''m very embarrassed to ask this, and it may seem dumb to most of you, but if someone could tell me if there''s a difference in where the programs we will create look for the information they need for the code, I would really appreciate it. I guess what I''m asking is, is all the stuff inlcuded with the SDK files separate from the DirectX stuff installed on your system when you install a game that requires it? Thank you very much.

Share this post


Link to post
Share on other sites
Piotyr    122
Tempest: To answer your question, the DirectX files that are installed on your machine to play some games are called the runtime files. These files are required to run any game with DirectX. However, the SDK includes developer files, such as header files and static libraries, which are necessary to develop software in DirectX. So, the roundabout answer is yes, you need the SDK, or else the compiler won''t know how to handle the DirectX-related functions.

Share this post


Link to post
Share on other sites
milkywayman    122
i really need help guy ...really....i have reaD THE WHOLE ARTICLE AND THE RESPONSES 2 TIMES and i still dont really know what i need to have.....

ok i have direct x8.0 in my system...does this mean i will have to download the direct x7.0 sdk files?

also teej i have a problem accessing you webpage....yoou might want to check it for errors...


thnaks in advance.

Share this post


Link to post
Share on other sites
Teej    176
milkywayman: If you have DirectX 8.0, it includes all previous DirectX versions automatically, so you''re OK. Note that there are two parts to DirectX: The runtime DLLs (what''s already on the OS to play games with), and the SDK (Software Development Kit) which you need to develop games with. So, make sure you have either v7 or v8 of the DirectX SDK.

As for my webpage, make sure you''re using the newest link:

http://members.theglobe.com/gdnteej/GAMEDEV/

One of the very first topics at the top of the forum list contains the most current webpage at all times, so check there if you''re having problems.

Teej



Share this post


Link to post
Share on other sites
riz    122
yo guys,
with win XP out and all, i''ve got dx 8.1 installed. About to install the Dx8 SDK from MS'' website. ANd I found the dx8 for C/C++ programmers documentation on msdn.microsoft.com but I can''t find the documentation for dx7. Anyone have it? or do you need to download the whole dx7 (older) sdk, just to get the docs out of it?

this forum is beyond amazing BTW

riz

Share this post


Link to post
Share on other sites
Woodyb23    122
Wasup peoples,

I am really stuck now because I dont know what components I need from Direct X. Can somebody please direct me in which files I need for the basecode to compile? Thank you. My email is bwoodsie@yahoo.com

Share this post


Link to post
Share on other sites
Odywan    122
Yeah.. we need the files for this project. Teej said he was hosting the directx 7.0 doco. As his website isn''t working, would someone be kind enough to point us to a place on the net where we can get them?

Cheers,

Ody.

Share this post


Link to post
Share on other sites
Odywan    122
Looks like most of the files are at http://www.sfu.ca/~dbrokens/index.html

The only broken link I could find was the directx 7 help files

Hope this helps,

Ody

Share this post


Link to post
Share on other sites
jastoh    122
first of all, i want to thank teej for doing such a great job. since i have found your tutorials, i didnt even care to look for others anymore. anyway i have quite a big problem. maybe not. i have finished downloaded dxsdk ( 134mb ) and when i extract the files. one file was corrupted. its a .cab file. the name of the file is dxxpchk.cab and its 9 mb.

well i still manage to finish the installation but i have ignored that file. is that file important? can anyone please send it to my email jastoh@yahoo.com ? or if it is not possible, can anyone please put this file on their server so that i can download it. after i finish, u can delete it. i really need that file so please help me because i really want to design games. thanks to everyone.

Share this post


Link to post
Share on other sites
jastoh    122
sorry to bother again but i must say that teej and others who gave replies or ask questions are really doing a great job to give newbies like me motivation. thanks a lot.

as for teej, i cant get your dxsdk7 help files. where can i get them? does the dxsdk8 help file help?

Edited by - jastoh on February 10, 2002 1:02:24 AM

Share this post


Link to post
Share on other sites