Results 1 to 2 of 2

Thread: 'Microsoft.DirectX.Direct3D.Usage'

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Bangalore
    Posts
    172

    'Microsoft.DirectX.Direct3D.Usage'

    hi

    i have Installed DirectX sdk2005

    BUT WHILE RUNNING CODE

    Following error accured

    [The type 'Microsoft.DirectX.Direct3D.Usage' exists in both
    'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and
    'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' ]


    May i know hat may be the error

    Please reply

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: 'Microsoft.DirectX.Direct3D.Usage'

    Have you added references to both those libraries to your project? From the version numbers I'd say that you should be using one or the other.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width