0
votes

I'm working on a .NET application that requires the use of accelerated graphics, currently DirectX 9.0c. The software is quite graphics intensive and must, in addition, be launchable from a CD or by ClickOnce without the user requiring administrator's permissions.

I currently use SlimDX, which works great featurewise, but the users are getting rather annoyed by having to install the DirectX redistributable. Especially since this does require elevated permissions. It is rather hard to explain to them why the version of DirectX already bundled with their OS is not sufficient. After all - DirectX 9.0c has been around since 2004, and I'm not using any new fancy features.

The ability to deliver an application that "just works" in Vista or Windows 7, without any particular additional prerequisites would be a huge advantage.

Therefore: Is there any way I can build an application using DirectX 9.0c based on SlimDX, that relies only on the libraries provided in the standard Windows Vista/Win7 installation? That is - without requiring the additional DirectX redistributable to be installed?

If not - is there any other managed (and preferably not abandoned) DirectX wrapper that can serve this purpose?

Thanks in advance!

1

1 Answers

1
votes

I think SlimDX can't run wihout the DirectX redistributable, but it may be possible to bundle DirectX DLL directly into your assembly instead of installing them to GAC with the redistribuable pack. I haven't test this possibility by myself but it may be complex to load the right DirectX DLL in a generic way if you want this to work for x86 and x64 platforms.

I don't know about another DirectX Wrapper, but SlimDX seem to be the only one to run on x64 platforms.