Can't Run Any Programs On Others Machine

What I am running:

DirectX 9.0c & C#

I am trying to run the compiled version of ( http://www.c-unit.com/tutorials/mdirectx/ t=38 ) this tutor on another machine. These tutorials only work in October Version of DirectX I believe.

What I downloaded:


---Microsoft .NET Framework Version 1.1 Redistributable Package
http://www.microsoft.com/downloads/details.aspx FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en


---DirectX 9.0c Redistributable (October 2005) for Software Developers - Multilingual
http://www.microsoft.com/downloads/details.aspx FamilyID=9930efa6-9f7b-4c8a-aea2-97dd6ab307a2&DisplayLang=en

I installed them and i get this message:

"Common Language Runtime Debugging Service"

"Application has generated an exception that could not be handled"

Process id = 0xe24(3620) Thread id=0xcac(3244)

Click OK to terminate the application

Click CANCELto debug the application



Answer this question

Can't Run Any Programs On Others Machine

  • Wenyang

    Okay, I'm not a .Net/MDX programmer - but you mention you built against the October SDK. It's possible that you'll need the corresponding D3DX update - this is a requirement for native/C builds, but I don't honestly know how it fits into the MDX agenda.

    Point your tests at the DirectX Web Installer. It's new for the December update, but it should fill in any setup/configuration holes that you or your users have.

    hth
    Jack



  • waison

    Redist for developers give you all the files you need but you still have to include them in your installer.

    Telling them to run the web installer in your link is probably the simplest, and a very valid way to get this done. All of the apps should run just fine after running that. Its not something you download, when you run it it will scan your machine and download any missing components it needs.

    If they do not have .Net 2.0 then they need to download and run this one http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5 notice you must have this on the machine before you run the directX one.

    If you want to include the files within your own installer folow the instructions in http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Installing_DirectX_with_DirectSetup.asp . Basically choose which redist files you need, put them in your instlaaer folder and then call dxsetup and it will just happen for you.

    There is no program to write to install them, in fact using your own code to redistribute DX files is not advised and against the SDK EULA. Thats why there is dxsetup and thats also why its much better to just send people to the web installer.



  • sansara13

    The second link you provided is an the redist files for developers to include, it does not actually install DirectX. Its there so that you can build your own setup that includes whichever parts of DirectX that you need. (its also an option component when you install the full SDK)

    To get the bits onto the end users machine you need to either use the web installer that Jack linked to (http://www.microsoft.com/downloads/details.aspx FamilyID=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3 - which includes Feb06 bits) or build the directX redist files into your setup program by following these instructions http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Installing_DirectX_with_DirectSetup.asp

    You need to ensure that .Net is already on the machine otehrwise the DX setup will *NOT* install the managed assemblies.



  • Stan Kitsis

    So its in testing RTM == Run Time Machine

    How long do you think it will bebefore they RTM

    And thank you for helping me.


  • davcrist

    Are you building your applications with MDX 2.0 I belive Chad has updated his on c-unit to do so.

    In which case you are out of luck - MDX 2.0 is still in beta so there is no official way to get the beta bits onto a machine other than installing the SDK. Beta APIs are developer only - they will be in the DirectX web installer after they RTM.



  • Nathan Yokoyama

    Yes still in beta which means its not complete, tested, working, hi performant etc. Its provided so that you can test your applictions and get an early start on trying out new technology and give Microsoft feedback. ITs not designed to go into any kind of production environment on end users machines.

    RTM = Release to Manufacture - it means completed.

    There is no official announcement when it will release yet but the SDKs are bi monthly meaning April 05, June 05, Aug 05 are the next possible 3 candidates.



  • Olav Tollefsen

    Well each person has followed these steps.

    When program starts up it encounters an error.  I dont know what the error is, it just won't say.  It works fine on my computer with sdk or any with the sdk.  Any ideas


  • popeyesailor

    I think your "other machine" needs to have the .Net Framework runtime

  • T_Cavallari

    THise two links are the end user run time for .net and directX
  • jehan

    I have tried so many things.

    I have C# 2005 Express. DirectX December 2005. .Net v2

    I am trying to get my friends computer to ruin a compiled source of http://www.c-unit.com/tutorials/mdirectx/ any one of this tutorirals.

    I was using "redist files for developers".

    I guess I was wrong there. I had them download this (http://www.microsoft.com/downloads/details.aspx FamilyID=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3 - which includes Feb06 bits)

    What .net files do i need. I know I need end user run time files. But all I can find is redist files for developers.

    And can anyone help me learn or write a simple program that installs .net 2 then directX


  • Can't Run Any Programs On Others Machine