Re: DirectX with C#, Porting problem



Yes you need the runtime, the runtime is made up of the core files and then
the bi monthly updates. FOr MDX you need the bi monthly updates. SO when
people say they have DirectX installed they may not have enough to run an
MDX program.

the redist files are an option part of the SDK install - you can choose to
install them or not. Either way you can't just include the DLLs with your
program because they have to be installed properly.

See this thread
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=351564&SiteID=1


--
Zman
http://www.thezbuffer.com - News and information for Managed DirectX



"AUBY" <AUBY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F815C862-D0C9-418E-AF63-45E2C0BECC99@xxxxxxxxxxxxxxxx
hmmm.... means that i have 2 install DirectX redist on each pc where i
want
my game 2 run.... isnt it??? but the system that i m running my game on
has
directx 9.0 installed on it.... what is the difference b/w DirectX runtime
n
DirectX redistributable... there is no redist in my version of the sdk
(April
2005) but it has a folder named Developer Runtime in it tht contains dlls
of
managed code as well... such as Microsoft.DirectX.Direct3D and
Microsoft.DirectX.Direct3DX... do i need 2 do some thing with these????
plz dont be annoyed by my questions :) coz i m new in this area....

"ZMan" wrote:

Depends which DirectX redist you have installed - the core files one does
not include managed directX
http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3
has everything.

If it fails after that then its a different error and probably not to do
with DirectX. Its hard for us to know what if you don't provide the error
message.

Debug mode should not make a difference other than it will be slower.

Installer packages won't work since the installer doesn't know how to
install directX properly.

--
Zman
http://www.thezbuffer.com - News and information for Managed DirectX



"AUBY" <AUBY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5333EB22-C645-4E03-A7E1-4B2E4BD267E9@xxxxxxxxxxxxxxxx
got busy in the way... now m back on track.... the problem is tht the
systems
on which i m tryin 2 run my game have directx 9 redistributable
installed
on
them.... but as i run the game an exception arise that notify about
some
dll
file (can't remind its name) but it is related 2 directx n the dialog
asks
me
2 debug the app. btw i m buildin n compilin the project in debug mode
not
in
release mode.... do this has an impact in this situation.... i also
tried
by
makin an installer package thru vs .net n it does detect the dlls tht i
m
using n it also packages them...
i hope u understand wht i mean :)

"ZMan" wrote:

You are correct, you do not need the whole SDK on the other machines
to
play
the game. But you do need the runtime files.

There are 2 ways to do this.
1. If this is a download game and you want to keep things small you
can
direct your users to
http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&DisplayLang=en
before they download and run your game.
2. You need to write an installer program, include a call to DXsetup
in
that
installer, and then include the DX redistributable files as part of
your
installer package. This is described here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Installing_DirectX_with_DirectSetup.asp

There is no way to compile the files you want into a single EXE.
Professional games do #2 above.

--
Zman
http://www.thezbuffer.com - News and information for Managed DirectX



"AUBY" <AUBY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EA2946B7-CDFE-46C8-B73D-BDCCBBD75544@xxxxxxxxxxxxxxxx
Now thts wat i was talkin about... SHUD I NEED 2 INSTALL THE SDK
WHERE
I
WANT
MY APPLICATION 2 RUN... but thts dont happen 2 often.. games do need
directx
runtime but not SDK... so how shud i compile my code if i want 2
make
it
behave like all the other professional games???(without recompilin
it
again n
again)

"ZMan" wrote:

To run the program you either need the same SDK as you created it
on
or
the
runtime files for that SDK. Whilst the DirectX9.0 core files have
been
unchanged for a long time, each SDK includes new D3DX.dll and new
managed
wrappers.

Depending on which API calls you make you *may* be able to
reference
an
older version but April 05 and Summer 04 are a long way apart so I
would
think it unlikely.

You can install the entire set of runtime d3dx and managed wrappers
by
using
http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&DisplayLang=en
though this does not include any sample, debug dlls etc etc

Or you can install the matching SDK

--
Zman
http://www.thezbuffer.com - News and information for Managed
DirectX



"AUBY" <AUBY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B992D497-6236-4D49-9FF6-D746D5168A9C@xxxxxxxxxxxxxxxx
Hi,
i have some important thing 2 discuss. and n urgent reply is
needed...
i've
made a simple game in directX (direct3D) with C# (managed
directX).
the
problem is that this game is workin fine on my PC on which i
developed
it...
but when i run it on another system where the older version of
directx
sdk
is
installed, it doesn't run at all!!! i've SDK of april 2005 n in
lab
there
is
SDK for summer 2004.

shud i need the same version of directx SDK on ne system on which
i
want 2
run the game??? isn't only directx 9.0 is needed to run the
game???
shud i
ve
2 take da version of SDK with the game??

"temme how shud i compile or deploy this application so tht it
may
run
on
ne
system havin .Net framework n dirctx9.0 installed on it."

thankin in advance!!!












.



Relevant Pages

  • Re: DirectX with C#, Porting problem
    ... the redist files are an option part of the SDK install - you can choose to ... http://www.thezbuffer.com - News and information for Managed DirectX ... my game 2 run.... ... Installer packages won't work since the installer doesn't know how to ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Is this still in beta?
    ... Or am I just missing something? ... > DirectX is always under development. ... There is a new SDK every 2 months. ... > used to program your game against. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: DirectX with C#, Porting problem
    ... you do not need the whole SDK on the other machines to play ... If this is a download game and you want to keep things small you can ... installer, and then include the DX redistributable files as part of your ... http://www.thezbuffer.com - News and information for Managed DirectX ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: DirectX with C#, Porting problem
    ... on which i m tryin 2 run my game have directx 9 redistributable installed on ... file but it is related 2 directx n the dialog asks me ... makin an installer package thru vs .net n it does detect the dlls tht i m ... runtime files for that SDK. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Directory structure for MDX dlls
    ... Each SDK had a new D3DXnn.dll therefore managed needs a new Managed ... This is the beta DLL for Managed DirectX 2.0. ... think it comes from the web installer as I don't have this one on my ... DirectX for Managed Code ...
    (microsoft.public.win32.programmer.directx.managed)

Quantcast