Re: directx redistribution

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Glenn,

I've made sure all references in the project are pointing to the correct
dlls. No luck.

Interestingly enough, I created a new Direct3D project, which just creates a
device and renders a small vertex buffer. I created a new setup & deployment
project for this .exe, and tried installing it on another machine. Same
error!

I've successfully distributed MDX progs before, but this is the first
project I've tried to distribute after installing the "February 2005
Update". Is there any way one can roll back the SDK to a previous version?

Thanks,
Norvin

"Glenn Wilson" <GlennWilson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8BDFE335-703D-4869-A612-6B29EC28D2C5@xxxxxxxxxxxxxxxx
> Have a look at your original project and make sure the referances are
linked
> correctly. If you were referanceing the dlls in the project directory you
> will need to change them back to the normal ones.
>
> I would remove the referances to the MDX files and re add them making sure
> that you select the assemblies from the .net section of the add referances
> wizard.
>
>
> "NL" wrote:
>
> > Hi Glenn,
> >
> > Thanks for the link. I followed your advice, but I'm still getting the
same
> > error:
> >
> > "System.IO.FileNotFoundException: File or assembly name
> > Microsoft.DirectX.Direct3DX, or one of it's dependencies, was not
found."
> > when I try to run my deployed program.
> >
> > I've installed managed directx ("dxsetup /installmanageddx") on the
> > destination computer. I've also made sure my deployment program _isn't_
> > including a copy of the direct3d dlls in the target folder.
> >
> > Any other things I should be checking? I've tried deploying the app to
> > multiple computers, and it does the same thing on all of them...
> >
> > TIA,
> > Norvin
> >
> >
> >
> > "Glenn Wilson" <ircomm@xxxxxxxxxxx> wrote in message
> > news:O0r$ymPNFHA.3796@xxxxxxxxxxxxxxxxxxxxxxx
> > > Don't add the files to the target folder, I would let the MDX and
directx
> > > runtime installer take care of the install. You can add the merge mod
to
> > the
> > > installer that you can then configure to install the managed libs.
> > >
> > > Have a quick look at this post for a quick and dirty method of
installing
> > > the runtime for a managed App.
> > > http://www.ircomm.net/forums/50/ShowPost.aspx
> > >
> > > Mykre
> > > www.ircomm.net - Managed Game Programming
> > >
> > > "NL" <nl@xxxxxxx> wrote in message
> > > news:%23Zv24wLNFHA.3228@xxxxxxxxxxxxxxxxxxxxxxx
> > > > Hi,
> > > >
> > > > I can't seem to get my DirectX app to run on other (i.e. non
> > development)
> > > > machines properly. I've made a setup & deployment project for my
..exe,
> > and
> > > > managed DX is installed on the target machine, but I get the
following
> > > > error:
> > > >
> > > > "System.IO.FileNotFoundException: File or assembly name
> > > > Microsoft.DirectX.Direct3DX, or one of it's dependencies, was not
> > found."
> > > >
> > > > Any ideas?
> > > >
> > > > Norvin
> > > >
> > > >
> > > > PS: The setup and deployment project I made included the following
files
> > > > as
> > > > dependencies, so they get installed in the target folder:
> > > > - Microsoft.DirectX.dll
> > > > - Microsoft.DirectX.Direct3DX.dll
> > > > - Microsoft.DirectX.Direct3D.dll
> > > >
> > > > Should I let the MDX install take care of these files? Or should
they be
> > > > included in my deployment project?
> > > >
> > > >
> > >
> > >
> >
> >
> >


.



Relevant Pages

  • Re: Error loadin VS 2005 DLLs in Windows Vista
    ... The scenario is a Legacy VC 6.0 application which we are adding new mixed ... mode DLLs compiled with VS 2005. ... Installing the Visual C++ 2005 Redistributable changes the error to: ... Have you tried a "Thinstall Solution"? ...
    (microsoft.public.vc.language)
  • Application failed to initialize 0xc0000022 - Access rights to System32 DLLs
    ... I had EXACTLY the same issue on our Win2k Citrix farm after installing ... We found that the ICA clients got this error ... are running fine if the user has Admin rights but if not, ... Those DLLs do not allow ANY access to ordinary ...
    (microsoft.public.vb.general.discussion)
  • Re: location of MFC71*.dlls when installing a program ?
    ... A local copy of the MFC DLLs doesn't take up too much room and you are always assured that your program will have the DLLs you intended to run it with. ... MSFT does not recommend touching sys32 with your libraries. ... Also, when you are installing it local, chances of it being deleted by ...
    (microsoft.public.vc.mfc)
  • Re: What Linux can learn from Windows...
    ... >> one false bit in the registry and the pc won't boot anymore. ... I had a registry get messed up by installing a NIC into a Windoze machine. ... The biggest problem with Windoze is the .DLLs and where they get installed. ...
    (alt.os.linux)
  • Deus Ex Invisible War crashing
    ... Contacted Eidos and they suggested installing latest video drivers. ... DXDIAG Direct3D tests all failed. ... Failure at step 8: ... Now when I run the game I get the game loading, ...
    (microsoft.public.windowsxp.games)