473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

DirectX Redistributable Files For .NET

We have a program written in C# which uses Microsoft.DirectX.DirectPlay.
The program seems to work fine on the computer with which it was written,
but when it is the matter of running it on another computer (with Win XP sp2,
DirectX 9.0b installed before installing .NET framework 1.1), the following
error message is displayed:
"File or assembly name Microsoft.DirectX.DirectPlay, or one of its
dependencies, was not found"
We tried reinstalling DirectX but it didn't help. We know that .NET
framework must be installed prior to installing DirectX, but reinstalling
DirectX even after installation of .NET framework doesn't help in anyway. Any
suggestions?
Thanks.
Dec 28 '05 #1
2 1569
Ehsan,

Are you sure you are distributing your interop assemblies as well? The
ones that you reference in managed code?

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ehsan" <Eh***@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
We have a program written in C# which uses Microsoft.DirectX.DirectPlay.
The program seems to work fine on the computer with which it was written,
but when it is the matter of running it on another computer (with Win XP
sp2,
DirectX 9.0b installed before installing .NET framework 1.1), the
following
error message is displayed:
"File or assembly name Microsoft.DirectX.DirectPlay, or one of its
dependencies, was not found"
We tried reinstalling DirectX but it didn't help. We know that .NET
framework must be installed prior to installing DirectX, but reinstalling
DirectX even after installation of .NET framework doesn't help in anyway.
Any
suggestions?
Thanks.

Dec 28 '05 #2
Thanks Nicholas,
but I think interop assemblies have to be considered when talking about COM
and .NET interoperability, while this project uses DirectX assemblies
provided to be used directly by .NET. So, there are no such files to be
distributed. Anyway, I expect DirectX to be installing necessary files on the
computer (but I'm doubtful if it does). And one more thing, the same project
works just fine on another computer (which of course, has Visual Studio .NET
installed), we're having trouble with only one of our systems which doesn't
have Visual Studio.
Would you please give me the list of files which must be deployed with our
EXE file, including those needed for DirectPlay?
Thanks again.
Dec 29 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS...
3
by: johnb41 | last post by:
I am building a .net app that does some simple image tasks (Tiff files): viewing Tiff, viewing thumbnails from multipage tiff, rotation, page (frame) deletion, etc. The problem is that it is so...
3
by: Edward Mitchell | last post by:
I am converting a project that uses DirectX and worked under VS.NET 2003. Now when I convert the project to .NET 2005, there are linker errors for _Xran and _Xlen as follows: ...
0
by: danbst | last post by:
There are script languages compiled at runtime. So, we can download interpreter and code-file to run the program. Everybody knows it. here is my idea. I create redistributable package (for *nix...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.