DirectX February 2006 SDK has Conflict with other DLL

Hello!

I loaded down the new DirectX SDK form February 2006.

After installing and doing a device creation test, i've got an error telling me, that two dll's are in conflict with each other.

So I went into my C:\WINDOWS\Microsoft.NET\DirectX for Managed Code

directory and deleteted all subdirectorys in there. I've reinstalled the February SDK but he again tells me that their is a conflikt between two DLL's.

Here is the error:

The type "Microsoft.DirectX.Direct3D.Device" exists in both "C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll" and "C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll"

Can anybody tell me how I can solve this problem

greetings



Answer this question

DirectX February 2006 SDK has Conflict with other DLL

  • iznogood

    AudioVideoPlayback == managed wrapper for DirectShow. But you would know all about that if you read the link I sent http://www.thezbuffer.com/articles/364.aspx

    The only docs in the SDK are for MDX 1.1 there are no docs for MDX 2.0 but AudioVideoPlayback is not in MDX 2.0 for sure.



  • Dave Kairys

    Hi, I'm having the same problem as Motzl. As you suggested, I removed all of the other dll references and that removed many of the errors.

    My app uses the Microsoft.DirectX.DirectSound.SecondaryBuffer and Microsoft.DirectX.AudioVideoPlayback.Audio classes. For some unknown reason the compiler can't find either of these classes. Here are the errors I'm still getting:

    C:\...\Alien Combat\AlienCombat\Sound.cs(54,17): error CS0246: The type or namespace name 'SecondaryBuffer' could not be found (are you missing a using directive or an assembly reference )

    C:\...\Alien Combat\AlienCombat\Music.cs(55,17): error CS0246: The type or namespace name 'AudioVideoPlayback' could not be found (are you missing a using directive or an assembly reference )

    Any ideas

    Thanks!


  • RolandLee

    Is DirectShow inside of DirectX or is it a whole different library I've never heard of DirectShow before.

    Intelli-sense inside Visual Studio 2005 isn't picking up DirectShow through MDX 2.0.


  • AtulA

    These are becuase of API changes in MDX 2.0.

    See http://www.thezbuffer.com/articles/291.aspx for an old article about API changes otherwise your question should be in the beta forums http://msdn.microsoft.com/directx/beta/default.aspx

    Or you can go back to MDX 1.1

    AudioVideoPlayback is not part of MDX 2.0 since its no longer part of the DX API see DirectSho in here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=76924&SiteID=1 and alternatives here http://www.thezbuffer.com/articles/364.aspx. You MIGHT be able to use the AudioVideoPlayback from .Net 1.1 alongside the 2.0 Direct3D - I'm not sure.

     



  • David McReynolds

    THX :)

    Now I know were my problem was and I fixed it :)

    greetings


  • Sqnyy

    My documentation (April 2006 Managed DirectX SDK) still lists AudioVideoPlayback and DirectSound... DirectShow is not mentioned. Is it possible that my documentation is out of date How do I get an update


  • Erick_T

    If you reference the MDX 2.0 beta you only need to reference Microsoft.DirectX.dll - you do not need the supporting DLLs. If you add them as well you will have a conflict becuase you are referenceing MDX 1.1 and MDX 2.0 in the same application.

    v1.0.2902.0 is MDX 1.1 and if you use that you have to add all the other
    Microsoft.DirectX.ZZZZZZZ.dll as needed
    v2.0.0.x86 is MDX 2.0 and if you use that you should not add any other
    references because they are all now inside the single assembly

    Remember that 2.0.0.x86 is in beta and is not currently complete nor will it
    ever ship in its current state since Microsoft announced the XNA framework.
    If you want to use that you should join the beta newsgroups
    http://msdn.microsoft.com/directx/beta/default.aspx



  • DirectX February 2006 SDK has Conflict with other DLL