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.
You are likely missing the managed assemblies. These are installed as part of the DirectX SDK "REDIST" through DirectSetup. Look at the the topic "Installing DirectX with DirectSetup" in the DirectX SDK Documentation for details on how to create an approprite "REDIST" for your product's media. Alternatively, you can point your users to the "DirectX End-User Runtime (December 2005) Web Installer" on the microsoft.com site which will install all optional components and assemblies assuming .NET is installed on the system. NOTE: Because the system is Windows XP SP2, it is actually DirectX 9.0c (Summer 2004 or later), not 9.0b. Installing DirectX 9.0b (Summer 2003) on this system does nothing. -- Chuck Walbourn SDE, Windows Gaming & Graphics This posting is provided "AS IS" with no warranties, and confers no rights.