Blogger Tricks

Your insights for search

Written By wanes day on Saturday, September 24, 2011 | 1:12 AM

Your insights for search


How it Works, Problem Analysis, and Upgrade DirectX

Posted: 23 Sep 2011 08:58 AM PDT

DirectX or Direct3D is a collection called API (Application Programming Interface) for handling multimedia tasks in programming, particularly computer games in Microsoft Windows operating system. DirectX is the union of Direct3D, DirectDraw, DirectMusic, DirectPlay, and DirectSound.

History
Every game would need to perform certain tasks over and over again, like to see input from the mouse, joystick, or keyboard. In addition, a game needs to display a screen image and play sounds or music. This is something that is complicated for programmers in the early architecture of the PC before Windows.

To read the keyboard or detecting whether a joystick is connected and only used for playing games, a programmer must make their own way. In fact, it takes a special routine to display the most simple images on the screen or play a simple sound.

The basic principle, the programmers talking directly to the PC hardware at a fundamental level. The introduction of Windows by Microsoft is critical to the success and stability of PC, namely the ease for the developers and players.

Microsoft's idea in this case is to stop programmers talking directly to the hardware and replace it by creating a common toolkit that can be used by them. Then, born of DirectX was first introduced in 1995 and became the standard for developing multimedia applications on the Windows platform.

How it Works DirectX
DirectX is the interface between the hardware inside the PC and Windows. To find out how it works, let's look at the following practical examples. At the time of the game makers want to play a sound file, must use a suitable library functions.

When the game goes, the DirectX API will be used to play a sound file. Meanwhile, the game makers do not need to know what kind of sound card used, what can be done, and how to talk to the device.

This is because Microsoft has provided DirectX and sound card manufacturer also provides a DirectX-capable driver. This software function asks for the sound to be played on any machine. Direct also provides great convenience to gamers, such as in theory.

At the beginning of its appearance, DirectX simple toolkit. Along with the development of hardware and software are increasingly complex, DirectX also experienced growth. DirextX not just a graphics toolkit, but it covers many routines which handle all types of communications hardware.

For example, the DirectInput routines can deal with all kinds of simple mouse input device with two buttons to complex flight joysticks. Other parts include DirectSound for audio devices and DirectPlay provides a toolkit for online gaming or multiplayer.

DirectX Problem Analysis
Analyzing the DirectX installation problems can be difficult. Moreover, if you do not know which part is making the game unplayable. For this reason, Microsoft provides a utility called the DirectX Diagnistic Tool. This tool is not found in the Start Menu in Windows versions of any and tend to install in different places.

The easiest way to operate is to open the Run dialog from the Start Menu. After that, type dxdiag, and then click OK. At first run, this tool takes a few seconds to ask the DirectX installation and check to see if there is a problem.

DirectX Files tab displays each version is used. Notes on the bottom also need to be seen as the missing files will be marked here. Tab Display, Sound, Music, Input, and Network, are all associated with a particular part of DirectX.

All provide tools to test hardware functionality except the Input tab. The last thing is the More Help tab that provides an easy way to run DirectX Troubleshooter (how to troubleshoot common Microsoft DirectX).

Upgrade DirectX
The best place to install the latest version of DirectX is Microsoft's Web site, ie www.microsoft.com/windows/directx. Here, you can download a simple installer and download the components that need to be installed by the system.

Also, it can directly download the complete package for offline installation. Game is one other source of DirectX. If the game requires a specific version, available installation CD that may be installed automatically by the game installer.

0 komentar:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
 
berita unik