Past 2017 top best forum
Today's Date
Nigeria free 2018 Gallery
9ja NOTICE: You are currently viewing this website as a Guest and are restricted from viewing some vital information. For more permissions on Earlyface.com.ng? Like posting Comments, Topics and Uploading contents without Verification And Moderator's approval. Fast loading and quick accessibility. Registration is required. Please Login or Register now to gain full access. It is fast and free!!

CLICK HERE NOW TO BECOME EARLYFACE MEMBER...


Author Topic: Meaning Of DirectX explained  (Read 83 times)

0 Members and 0 Guests are viewing this topic.

Offline JEFFREY96

  • Global Moderator
  • Earlyface VIP
  • Posts: 13407
  • Vote for me: +1155/-128
  • Location: ISLAND
Meaning Of DirectX explained
« on: August 17, 2018, 10:24:13 pm »
DirectX explained

Ever wondered just what that enigmatic name means?

Gaming and multimedia applications are some of the most satisfying programs you can get for your PC, but getting them to run properly isnít always as easy as it could be. First, the PC architecture was never designed as a gaming platform. Second, the wide-ranging nature of the PC means that one personís machine can be different from another. While games consoles all contain the same hardware, PCs donít: the massive range of difference can make gaming a headache.


To alleviate as much of the pain as possible, Microsoft needed to introduce a common standard which all games and multimedia applications could follow Ė a common interface between the OS and whatever hardware is installed in the PC, if you like. This common interface is DirectX, something which can be the source of much confusion.

DirectX is an interface designed to make certain programming tasks much easier, for both the game developer and the rest of us who just want to sit down and play the latest blockbuster. Before we can explain what DirectX is and how it works though, we need a little history lesson.

DirectX history
Any game needs to perform certain tasks again and again. It needs to watch for your input from mouse, joystick or keyboard, and it needs to be able to display screen images and play sounds or music. Thatís pretty much any game at the most simplistic level.

Imagine how incredibly complex this was for programmers developing on the early pre-Windows PC architecture, then. Each programmer needed to develop their own way of reading the keyboard or detecting whether a joystick was even attached, let alone being used to play the game. Specific routines were needed even to display the simplest of images on the screen or play a simple sound.

Essentially, the game programmers were talking directly to your PCís hardware at a fundamental level. When Microsoft introduced Windows, it was imperative for the stability and success of the PC platform that things were made easier for both the developer and the player. After all, who would bother writing games for a machine when they had to reinvent the wheel every time they began work on a new game? Microsoftís idea was simple: stop programmers talking directly to the hardware, and build a common toolkit which they could use instead. DirectX was born.

How it works
At the most basic level, DirectX is an interface between the hardware in your PC and Windows itself, part of the Windows API or Application Programming Interface. Letís look at a practical example. When a game developer wants to play a sound file, itís simply a case of using the correct library function. When the game runs, this calls the DirectX API, which in turn plays the sound file. The developer doesnít need to know what type of sound card heís dealing with, what itís capable of, or how to talk to it. Microsoft has provided DirectX, and the sound card manufacturer has provided a DirectX-capable driver. He asks for the sound to be played, and it is Ė whichever machine it runs on.

From our point of view as gamers, DirectX also makes things incredibly easy Ė at least in theory. You install a new sound card in place of your old one, and it comes with a DirectX driver. Next time you play your favourite game you can still hear sounds and music, and you havenít had to make any complex configuration changes.

Originally, DirectX began life as a simple toolkit: early hardware was limited and only the most basic graphical functions were required. As hardware and software has evolved in complexity, so has DirectX. Itís now much more than a graphical toolkit, and the term has come to encompass a massive selection of routines which deal with all sorts of hardware communication. For example, the DirectInput routines can deal with all sorts of input devices, from simple two-button mice to complex flight joysticks. Other parts include DirectSound for audio devices and DirectPlay provides a toolkit for online or multiplayer gaming.

DirectX versions
The current version of DirectX at time of writing is DirectX 9.0. This runs on all versions of Windows from Windows 98 up to and including Windows Server 2003 along with every revision in between. It doesnít run on Windows 95 though: if you have a machine with Windows 95 installed, youíre stuck with the older and less capable 8.0a. Windows NT 4 also requires a specific version Ė in this case, itís DirectX 3.0a.

With so many versions of DirectX available over the years, it becomes difficult to keep track of which version you need. In all but the most rare cases, all versions of DirectX are backwardly compatible Ė games which say they require DirectX 7 will happily run with more recent versions, but not with older copies. Many current titles explicitly state that they require DirectX 9, and wonít run without the latest version installed. This is because they make use of new features introduced with this version, although it has been known for lazy developers to specify the very latest version as a requirement when the game in question doesnít use any of the new enhancements. Generally speaking though, if a title is version locked like this, you will need to upgrade before you can play. Improvements to the core DirectX code mean you may even see improvements in many titles when you upgrade to the latest build of DirectX. Downloading and installing DirectX need not be complex, either.

Upgrading DirectX
All available versions of Windows come with DirectX in one form or another as a core system component which cannot be removed, so you should always have at least a basic implementation of the system installed on your PC. However, many new games require the very latest version before they work properly, or even at all.

Generally, the best place to install the latest version of DirectX from is the dedicated section of the Microsoft Web site, which is found at www.microsoft.com/windows/directx. As we went to press, the most recent build available for general download was DirectX 9.0b. You can download either a simple installer which will in turn download the components your system requires as it installs, or download the complete distribution package in one go for later offline installation.

Another good source for DirectX is games themselves. If a game requires a specific version, itíll be on the installation CD and may even be installed automatically by the gameís installer itself. You wonít find it on magazine cover discs though, thanks to Microsoftís licensing terms.

Diagnosing problems

Diagnosing problems with a DirectX installation can be problematic, especially if you donít know which one of the many components is causing your newly purchased game to fall over. Thankfully, Microsoft provides a useful utility called the DirectX Diagnostic Tool, although this isnít made obvious. You wonít find this tool in the Start Menu with any version of Windows, and each tends to install it in a different place.

The easiest way to use it is to open the Start Menuís Run dialog, type in dxdiag and then click OK. When the application first loads, it takes a few seconds to interrogate your DirectX installation and find any problems. First, the DirectX Files tab displays version information on each one of the files your installation uses. The Notes section at the bottom is worth checking, as missing or corrupted files will be flagged here.

The tabs marked Display, Sound, Music, Input and Network all relate to specific areas of DirectX, and all but the Input tab provide tools to test the correct functioning on your hardware. Finally, the More Help tab provides a useful way to start the DirectX Troubleshooter, Microsoftís simple linear problem solving tool for many common DirectX issues.
   
To be getting all EarlyFace confirmed Updates (latest news in town, free browsing cheats, hottest FREEBIES, post-UTME tips, school matter and Exam stuff) for free through your Facebook and Twitter profile;
 
  • CLICK HERE to Like EARLYFACE on Facebook
  •  
  • CLICK HERE to Follow EARLYFACE on Twitter

  •    
    How To Create A Topic On Earlyface
     
    How To Create A Topic or Post On Earlyface as a Novice.

     

    With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

    Note: this post will not display until it's been approved by a moderator.
    Name: Email:

    Related Topics

      Subject / Started by Replies Last post
    0 Replies
    75 Views
    Last post February 21, 2013, 07:10:12 am
    by MEGAX
    0 Replies
    1433 Views
    Last post November 14, 2013, 08:46:54 pm
    by JEFFREY96
    0 Replies
    93 Views
    Last post December 15, 2013, 09:40:06 pm
    by Mr Success
    0 Replies
    103 Views
    Last post January 06, 2014, 11:31:47 am
    by smartoo
    0 Replies
    208 Views
    Last post November 20, 2015, 04:40:30 pm
    by JEFFREY96
    0 Replies
    52 Views
    Last post August 26, 2016, 12:00:44 pm
    by JEFFREY96
    0 Replies
    50 Views
    Last post August 10, 2018, 09:32:45 am
    by smith95

    Updated Topics

    2018 NECO GCE updated time table by Henryblink
    Yesterday at 11:27:21 pm

    Waziri Umaru Federal Polytechnic Birnin Kebbi 2018/2019 Post UTME Form, Courses, School fees, Cut-Off Mark is Out by Ridwan Suleiman
    Yesterday at 11:11:13 am

    Airtel 7 days Unlimited Free browsing by Sir Biola
    Yesterday at 07:50:23 am

    What Massive Discount Do You Want by AyoJide
    November 16, 2018, 03:46:33 pm

    2017/2018 NABTEB GCE BIOLOGY PRACTICAL Questions And Answer Expo/Runs free by davidos9
    November 14, 2018, 09:02:46 am

    How to Earn Free $30 to Run Your First Campaign On Facebook Page by Wiz.gee
    November 14, 2018, 12:46:23 am

    Kemi Olunloyo Holds Press Conference To Introduce Little Girl Allegedly Fathered By Davido (Video) by mdee82
    November 13, 2018, 04:54:14 pm


    FBLike US on Facebook.. TWFollow US on Twitter..

    Portal
    Forum
    RSS Feeds
    FAQ
    Members Intro
    Announcements
    Privacy Policy
    Terms Of Use
    Partners
    About Us

    Problem Solutions
    Global News
    Sports
    Celebs
    Politics
    Gists In Town
    General
    Song Lyrics
    Dating
    Religion

    Examination
    Post-UTME/Admission
    School News
    Online Reading
    Scholarship
    Education
    Entertainment
    Download Links
    Stories
    Fashion

    MTN NG
    9Mobile NG
    Airtel NG
    Glo NG
    World Networks
    Pc Tweaks
    Mobile Phone
    Computer Tips
    WebMaster
    Programming

    Browsing Cheats
    Net Tricks
    Health n Welfare
    Latest Jobs
    EarlyFace Group Of Nigeria © 2018