Re: Any ideas on this?



Well, it was an educated guess, based upon the very limited amount of
information provided, and my own experience with DirectX. DirectX sits
directly on top of the Hardware Abstraction Layer of the OS, and is designed
to work directly with the video card, which does most of the actual drawing
work. Most video cards these days have support for storing and drawing 3D
objects, to some extent or another. DirectX therefore has quite a number of
methods for getting video card support information from the video card, as
not all video cards support all of the same types of operations, and vary in
terms of video memory, etc.

If one builds a DirectX application that draws on one machine, and does not
include enough querying to the video card to find out what it supports,
one's code may attempt to use some function that is not supported by a video
card on a different machine. This would result in the kind of behavior
described by the OP.

The OP was somewhat unclear about what he was doing, but did mention the
term "scene," which is a DirectX term for a 3D "scene". Since he indicated
that the app works fine on one machine, but breaks on others, because
DirectX relies quite heavily on the video card's capabilities, and since the
OP didn't mention anything about the video cards on these other machines, I
concluded that it was most likely that the OP was not aware of the intimate
dependency of DirectX on hardware. Therefore, I somewhat tentatively
suggested that he look at the video card differences between the machines.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer

A watched clock never boils.

"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:%230xTZzG3GHA.1256@xxxxxxxxxxxxxxxxxxxxxxx
Kevin,

Why not the sound card?

:-)

You are right with your answer but in my idea is this not resolvable by a
newsgroup than just guessing.

Cor

"Kevin Spencer" <uce@xxxxxxx> schreef in bericht
news:utmok7E3GHA.324@xxxxxxxxxxxxxxxxxxxxxxx
Video card?

--
HTH,

Kevin Spencer
Microsoft MVP
Digital Carpenter

A man, a plan, a canal,
a palindrome that has gone to s**t.

"Daniel" <DanielV@xxxxxxxxxxxxxxxx> wrote in message
news:ulCHWPE3GHA.324@xxxxxxxxxxxxxxxxxxxxxxx
Hey guys

I have a app that runs fine on my deve machine, in debug oe or straight
from my installer.

Stick it on another machine, similar spec and when i close a child form
it closes the whole app....essentially crashing but no crash message.
It's as tho i closed it.

On another machine it crashes on closing the second form that pops up.

This form is a directx scene.

So why on my dev machine does this never happen? But happens 100% of the
time on other machines, what difference could their be?







.



Relevant Pages

  • Re: Any ideas on this?
    ... Herfried has given often the same answer in the newsgroup ... and my own experience with DirectX. ... quite a number of methods for getting video card support information from ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: pink & overexposed DVD WMV image...
    ... Video card: NVIDIA GeForce 6800 GT, ... Nvidia driver version: 6.14.0010.7772 ... DirectX-version: DirectX 9.0c ... >> little trouble geting to a correct resolution for the monitor. ...
    (microsoft.public.windowsxp.video)
  • Re: Timing
    ... It is possible on a pc to get the sort of "superbly smooth exact pixel value on each and every frame" kind of motion that was very easily achievable on much older machines such as the Commodore Amiga or the C64, but in order to do so you need to get into using DirectX. ... To get the sort of super smooth motion that was common on the Amiga and the C64 you need to be timing your drawings using the same clock that the video card is using to draw its frames, which effectively means that you need to be using DirectX. ... You will probably find that the most annoying flicker is produced by values which closely approximate the actual video frame rate on your machine, because you will then "often hit it exactly and often not hit it at all", because they are never going to be exact. ... Private Declare Function timeBeginPeriod _ ...
    (microsoft.public.vb.general.discussion)
  • Re: Assassins Creed: minimum PC requirements
    ... Video Card: 256 MB DirectX 10.0-compliant video card or DirectX 9.0-compliant card with Shader Model 3.0 or higher * ... Since the requirements cover both XP and Vista that'll boost the RAM specs to include the ...
    (comp.sys.ibm.pc.games.action)
  • Re: Display adapter
    ... but I still can't seem to figure out on which display adapter ... Jens Søe Christiansen ... "Kevin Spencer" wrote: ... You need the DirectX SDK installed to use it. ...
    (microsoft.public.dotnet.framework.windowsforms)