silly problem with Dx 9 ... please help

shukri

Member
Joined
Mar 1, 2004
Messages
6
I made a simple Dx 9.0 demo written in C#. It works fine on my dev PC (Visual Studio .Net 2003 + Dx 9 SDK), but when I try to run the demo on any other PC, it fails to load - just throws an exception and stops. None of the other PCs have the SDK installed, but do have the latest version of the Dx runtime + the correct .Net framework.

Is there some special way I need to build a Dx application so it can run on a machine with only the runtime installed? Does an app need to be specially registered or something, or can I simply copy the application to a new PC and run it immediately?

thanks for your time!

Shukri
 
Im assuming you compiled the executable under the Release configuration? You should be able to just copy and go assuming the machine youre running on has everything its supposed to.
 
hmmm ... didnt work

The advice given sounded really plausible, but it didnt fix the problem. a) Built as "release" (as opposed to debug) and b) installed DirectX 9.0 with managed code support, but the problem is still there. Er, any other suggestions? Im ready to go out and buy a book which explains Dx + managed code + deployment. This is getting a little frustrating because I cant share my builds with the artist on my dev team. To make matters worse, he installed the Dx 9 SDK as a workaround and that didnt help either. Im pretty sure Im doing something wrong, but the fact that my builds work perfectly on my own PC is really throwing me ....
 
The full and literal directions at http://www.computerhelp.forum/showthread.php?t=84989 have never failed me. Every time someone has reported a problem afterwards, it always turns out its because they didnt install *managed* DirectX with the proper /installmanageddx flag. (This produces the exception youre probably seeing when they start up the app.)

-Hiro_Antagonist
 

Similar threads

Back
Top