Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. More on C# / DX9

More on C# / DX9

Scheduled Pinned Locked Moved C#
csharpvisual-studiohtmlgraphicsgame-dev
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul Riley
    wrote on last edited by
    #1

    Has anyone outside the US managed to get C# / DX9 to work together? I've installed the full SDK and opened VS.NET. Clicked on New Project, sure enough, there's a new template: DirectX 9 Visual C# Wizard. Assumedly I need to use that, right? When I select this and hit OK, I get a blank window and a messagebox (hidden underneath it) saying "Navigation Failed. Cannot find D:\Program Files\Microsoft Visual Studio .NET\VC#\VC#Wizards\Mdx9AppWizard\HTML\1033\default.htm". Well, fair enough, it isn't there. 1033 is the Locale ID for English US; the installer has chosen to only install 2057 (English UK), because that's what my system is set to. But every reference in the registry is ...HTML\2057 so is this hardcoded somewhere? Is there another way to use DX9 without the wizard? Who do you complain to about something like this if it fails? Any ideas anyone? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

    P A 2 Replies Last reply
    0
    • P Paul Riley

      Has anyone outside the US managed to get C# / DX9 to work together? I've installed the full SDK and opened VS.NET. Clicked on New Project, sure enough, there's a new template: DirectX 9 Visual C# Wizard. Assumedly I need to use that, right? When I select this and hit OK, I get a blank window and a messagebox (hidden underneath it) saying "Navigation Failed. Cannot find D:\Program Files\Microsoft Visual Studio .NET\VC#\VC#Wizards\Mdx9AppWizard\HTML\1033\default.htm". Well, fair enough, it isn't there. 1033 is the Locale ID for English US; the installer has chosen to only install 2057 (English UK), because that's what my system is set to. But every reference in the registry is ...HTML\2057 so is this hardcoded somewhere? Is there another way to use DX9 without the wizard? Who do you complain to about something like this if it fails? Any ideas anyone? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

      P Offline
      P Offline
      Paul Riley
      wrote on last edited by
      #2

      I think I've actually answered part of my own question. It seems that you can simply reference the DX assemblies in any Win app and use them from there. I still wouldn't mind knowing if there's a workaround to get the wizard going though. Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

      B 1 Reply Last reply
      0
      • P Paul Riley

        I think I've actually answered part of my own question. It seems that you can simply reference the DX assemblies in any Win app and use them from there. I still wouldn't mind knowing if there's a workaround to get the wizard going though. Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

        B Offline
        B Offline
        Brian Olej
        wrote on last edited by
        #3

        Dont think I can help you much but it works fine for me... Why waste time learning when ignorance in instantaneous -Hobbes

        P 1 Reply Last reply
        0
        • B Brian Olej

          Dont think I can help you much but it works fine for me... Why waste time learning when ignorance in instantaneous -Hobbes

          P Offline
          P Offline
          Paul Riley
          wrote on last edited by
          #4

          I would expect it to work in the US, or on any machine with a Locale of 1033. Then it will install in the place where the (assumedly) hardcoded folder path is. I suppose one workaround would be to change all my folder paths to 1033 and rename the physical folder, but that's naaaassssty! I'd rather do without the wizard... I think. :)) As you have it working, maybe you CAN help? What does the wizard actually do? Is it worth me caring about or is it something I can do manually in a few seconds? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

          B S P 3 Replies Last reply
          0
          • P Paul Riley

            I would expect it to work in the US, or on any machine with a Locale of 1033. Then it will install in the place where the (assumedly) hardcoded folder path is. I suppose one workaround would be to change all my folder paths to 1033 and rename the physical folder, but that's naaaassssty! I'd rather do without the wizard... I think. :)) As you have it working, maybe you CAN help? What does the wizard actually do? Is it worth me caring about or is it something I can do manually in a few seconds? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

            B Offline
            B Offline
            Brian Olej
            wrote on last edited by
            #5

            Well, have you ever used the DX wizard for VC6? It does the same thing pretty much, it sets up all the base code for a simple DX app; adding all the references etc. I don't know if you would be able to do it in a few seconds... maybe a few minutes but its convenient to have. Paul Riley wrote: I'd rather do without the wizard... I think Considering all the work you would have to do to get the wizard working you are probably right!:~ Why waste time learning when ignorance in instantaneous -Hobbes

            P 1 Reply Last reply
            0
            • B Brian Olej

              Well, have you ever used the DX wizard for VC6? It does the same thing pretty much, it sets up all the base code for a simple DX app; adding all the references etc. I don't know if you would be able to do it in a few seconds... maybe a few minutes but its convenient to have. Paul Riley wrote: I'd rather do without the wizard... I think Considering all the work you would have to do to get the wizard working you are probably right!:~ Why waste time learning when ignorance in instantaneous -Hobbes

              P Offline
              P Offline
              Paul Riley
              wrote on last edited by
              #6

              Thanks, Brian. Doesn't sound too bad, I'll have to try it over the weekend, been playing with the samples tonight. This is seriously sloppy on MS's part though. If you're going to have the wizard work for every language (to the point of separating English US/UK), you'd think they'd bother to test it in at least one other language :rolleyes: Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

              1 Reply Last reply
              0
              • P Paul Riley

                I would expect it to work in the US, or on any machine with a Locale of 1033. Then it will install in the place where the (assumedly) hardcoded folder path is. I suppose one workaround would be to change all my folder paths to 1033 and rename the physical folder, but that's naaaassssty! I'd rather do without the wizard... I think. :)) As you have it working, maybe you CAN help? What does the wizard actually do? Is it worth me caring about or is it something I can do manually in a few seconds? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

                S Offline
                S Offline
                Shock The Dark Mage
                wrote on last edited by
                #7

                I had the same problem because my local is Frech Canada. I have rename all the locale folder to 1033(US) and the wizard worked. But you can make a direct reference to DirectX also(like I do). Trully, if there evil in this world,
                It lies within the heard of mankind


                Shock The Dark Mage shock@romhack.net Main Project: Aeru IRC - http://www.sf.net/projects/aeruirc

                P 1 Reply Last reply
                0
                • S Shock The Dark Mage

                  I had the same problem because my local is Frech Canada. I have rename all the locale folder to 1033(US) and the wizard worked. But you can make a direct reference to DirectX also(like I do). Trully, if there evil in this world,
                  It lies within the heard of mankind


                  Shock The Dark Mage shock@romhack.net Main Project: Aeru IRC - http://www.sf.net/projects/aeruirc

                  P Offline
                  P Offline
                  Paul Riley
                  wrote on last edited by
                  #8

                  Thanks, Shock. At least reassuring to confirm that I've not just missed something really obvious :-D Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

                  1 Reply Last reply
                  0
                  • P Paul Riley

                    I would expect it to work in the US, or on any machine with a Locale of 1033. Then it will install in the place where the (assumedly) hardcoded folder path is. I suppose one workaround would be to change all my folder paths to 1033 and rename the physical folder, but that's naaaassssty! I'd rather do without the wizard... I think. :)) As you have it working, maybe you CAN help? What does the wizard actually do? Is it worth me caring about or is it something I can do manually in a few seconds? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

                    P Offline
                    P Offline
                    Philip Fitzsimons
                    wrote on last edited by
                    #9

                    create a junction...


                    "When the only tool you have is a hammer, a sore thumb you will have."

                    1 Reply Last reply
                    0
                    • P Paul Riley

                      Has anyone outside the US managed to get C# / DX9 to work together? I've installed the full SDK and opened VS.NET. Clicked on New Project, sure enough, there's a new template: DirectX 9 Visual C# Wizard. Assumedly I need to use that, right? When I select this and hit OK, I get a blank window and a messagebox (hidden underneath it) saying "Navigation Failed. Cannot find D:\Program Files\Microsoft Visual Studio .NET\VC#\VC#Wizards\Mdx9AppWizard\HTML\1033\default.htm". Well, fair enough, it isn't there. 1033 is the Locale ID for English US; the installer has chosen to only install 2057 (English UK), because that's what my system is set to. But every reference in the registry is ...HTML\2057 so is this hardcoded somewhere? Is there another way to use DX9 without the wizard? Who do you complain to about something like this if it fails? Any ideas anyone? Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

                      A Offline
                      A Offline
                      Andreas Philipson
                      wrote on last edited by
                      #10

                      I hade the same problem and solved it like this: In the extracted files, locate and copy the folder .\Bin\DXUtils\Visual Studio 7.0 Wizards\C#\VC#Wizards\Mdx9AppWizard Go to \Program Files\Microsoft Visual Studio .NET\VC#\VC#Wizards and delte the folder named Mdx9AppWizard and then paste the one you copied from the extracted files... This made it work for me... Andreas Philipson

                      P 1 Reply Last reply
                      0
                      • A Andreas Philipson

                        I hade the same problem and solved it like this: In the extracted files, locate and copy the folder .\Bin\DXUtils\Visual Studio 7.0 Wizards\C#\VC#Wizards\Mdx9AppWizard Go to \Program Files\Microsoft Visual Studio .NET\VC#\VC#Wizards and delte the folder named Mdx9AppWizard and then paste the one you copied from the extracted files... This made it work for me... Andreas Philipson

                        P Offline
                        P Offline
                        Paul Riley
                        wrote on last edited by
                        #11

                        Clever trick. As it turned out, I renamed the folders... it turned out there were only four folders to "fix" and the registry entries were all MRU (Most Recently Used) references, created from my investigating the problem, so they were irrelevant. Then having done that, I figured out that I was better off copying and adjusting necessary chunks of code from the samples, rather than using the wizard. I wasn't all that keen on all the unnecessary classes that the wizard was creating. Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups