cbx
Swordmaster
Canada
296 Posts |
Posted - Nov 14 2004 : 05:42:36 AM
|
The problem is far worse then I thought!
So I go and do a fresh install of windows after getting a new computer, and install the new october 2004 DirectX SDK and POOF!, there goes my DX9Tools library! It will not run, and it will not even compile! Why? Because when you install the october dx sdk it does not also install any of the previous managed dx9 libraries. For example my dx9tools library is written to work with ver 9.00.0900 and guess what, the october dx sdk only installs ver 9.02.3900! Do you know what that means! That every one who has written code using DX9 needs to update there code to work with the new libraries! Laaaaame! Note to MS, feel free to install old versions of your managed DX9 SDK libraries next time! Then I got to thinking...
Worse yet, all of my DirectX 9 example apps on my directx page were written for ver 9.00.0900 of the DX SDK. OMFG! All that work,... All those example apps I wrote, all those websites I posted them to,....
DAM YOU MS DIRECTX TEAM! DAM YOU!!! Now people are going to download my example apps from all over the net and try to compile and run them and they will not be able to! And good luck trying to find a link to the old managed directx libraries on the ms directx website, they only provide links for the newer v9.0c libraries.
And I'm just thinking about myself! What about all the other people out there and the apps those people have written! This is a disaster lying in wait!
What are your thoughts on this! Has anyone had any similar problems? I am looking for the link to the old redistributible package containing the v9.00.0900 managed directx libraries (summer 04 I believe). Has anyone have the link? |
Created by: X http://www.createdbyx.com/ |
|
Zarneth
Knave
Australia
62 Posts |
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Nov 14 2004 : 10:17:13 AM
|
One thing you need to check is to see if the latest end-user runtime installs the old versions of managed directx. There are two versions of the end-user directx, there is the internet download version where you download a simple program and then it downloads the files you need and then there is the single bundled version that you would include on CD's.
this is the internet download version dxwebsetup.exe
and this is the full end user redistributable package directx_9c_redist.exe
If the full end-user distribution (directx_9c_redist.exe) fails to install the old versions, then there IS a problem. If the version of directX that gets shipped on CD's doesn't install the old versions then a lot of people are screwed. There wouldn't be much you can do expept maybe try to find an old disitrubtion of Directx 9 (it has to be the full redist and not the web setup) and then try to install it. There is no guarantee that it would work. You can't install Directx 5 once you install 6, 7, or 8 because it detects the newer version and assumes you don't need it. Lets just hope that DirectX 9a/b will still install once 9c is installed. |
|
|
Zarneth
Knave
Australia
62 Posts |
Posted - Nov 14 2004 : 10:56:45 AM
|
quote: Lets just hope that DirectX 9a/b will still install once 9c is installed.
Tried that one before myself. It seems to install but doesn't. Had to find a Directx Uninstaller which worked flawlessly but I can't remember what the one I used was called. |
"VB is gay because it's simple, stylish, functional, and simply works as expected." |
|
|
cbx
Swordmaster
Canada
296 Posts |
Posted - Nov 14 2004 : 4:41:49 PM
|
quote: Originally posted by Zarneth <br>Google is your friend.
Edit: Hrmm. that first site also linked to this site: http://lab.msdn.microsoft.com/express/vbasic/default.aspx Seems to be a download for the Visual Basic Express 2005 beta. Which I'm assuming is free. IT's the Express part which I'm not sure about.
Eric's suggestion to install DX9c redist did not work, so I tried the dx9b and that seemed to work. Also I have provided a link on my site to only the v1.0.900.0 managed dx9 files themselves, so people do not have to download 84Mb when they can just download 1.1Mb. You can find the link to my site here http://www.createdbyx.com/Default.aspx?tabid=32
OK steps to get those managed dx libraries v1.0.900.0 back on your system.
1: Download the file at http://shrinkster.com/26o called "DirectX 9.0b SDK Developer Runtime" BE FORWARNED! it is a 84 meg download!!! 2: Unpack the redistributable and run "dxdevrtm.exe" /InstallManagedDX", there are two flavors Debug and Retail. I installed Debug. 3: Then click start run and type "cmd" then press the ok button to go into console mode. 4: Now type "cd C:\WINDOWS\assembly\GAC" to go into the gac folder 5: Now we will copy the dxlibraries to a temp folder so type "mkdir c:\DX9M900" this is where we will copy the files to 6: Now type "xcopy *Microsoft.DirectX* c:\DX9M900\*.* /s" 7: Close the console window and go into windows explorer and navigate to "c:\DX9M900" you will find v1.0.900.0 of the managed dx libraries there.
quote: Originally posted by Eric Coleman
... If the full end-user distribution (directx_9c_redist.exe) fails to install the old versions, then there IS a problem. If the version of directX that gets shipped on CD's doesn't install the old versions then a lot of people are screwed. ...
Now does that make any sence to anyone? Essentilly MS is saying that when they release a new version of DX that they are not going to be backwards compatible with previous versions! |
Created by: X http://www.createdbyx.com/ |
Edited by - cbx on Nov 14 2004 4:49:50 PM |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Nov 14 2004 : 5:17:59 PM
|
...which doesn't make sense as DirectX is usually the worldwide symbol of backwards compatibility.
If it wasn't completely backwards-compatible, there wouldn't be a point to overwrite the older versions and the inability to uninstall it.
...so, MS's gone crazy...
...again. |
Whatever. Who knows... |
Edited by - VBBR on Nov 14 2004 5:19:17 PM |
|
|
cbx
Swordmaster
Canada
296 Posts |
Posted - Nov 14 2004 : 5:27:12 PM
|
They also keep making these ver 9.0 9.0b 9.0c releases! Why can't they just call 9.0b 9.1 and 9.0c 9.2. It's not like they are going to release 10 flavors of DX9 before DX10 comes out.
And the breaking changes they are making from 9.0b to 9.0c seem retarded to me. For the longest time committing changes to a D3D light you would call Light.Commit but now they changed that to Light.Update. And it does the same thing! So what was the point of that! They also renamed a bunch of other stuff too, as well as removing a number of classes.
|
Created by: X http://www.createdbyx.com/ |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Nov 14 2004 : 5:36:50 PM
|
quote: Originally posted by cbx
They also keep making these ver 9.0 9.0b 9.0c releases! Why can't they just call 9.0b 9.1 and 9.0c 9.2.
To confuse us.
quote: Originally posted by cbx
It's not like they are going to release 10 flavors of DX9 before DX10 comes out.
Actually there's room for 26
So, you'll take a look at Revolution3D, eh? |
Whatever. Who knows... |
|
|
cbx
Swordmaster
Canada
296 Posts |
Posted - Nov 14 2004 : 5:43:30 PM
|
quote: Originally posted by VBBR
quote: Originally posted by cbx <br>They also keep making these ver 9.0 9.0b 9.0c releases! Why can't they just call 9.0b 9.1 and 9.0c 9.2.
To confuse us.
quote: Originally posted by cbx <br>It's not like they are going to release 10 flavors of DX9 before DX10 comes out.
Actually there's room for 26
So, you'll take a look at Revolution3D, eh?
Yah I keep comming back for a look Revolution3D every now and then, VBBR did Revolution3D go freeware?, I can't see a link to a licence page? |
Created by: X http://www.createdbyx.com/ |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Nov 14 2004 : 6:21:47 PM
|
Revolution3D was always freeware, you just need to display the logo for 3 seconds. |
Whatever. Who knows... |
|
|
Zarneth
Knave
Australia
62 Posts |
Posted - Nov 14 2004 : 9:01:53 PM
|
quote: Revolution3D was always freeware, you just need to display the logo for 3 seconds.
Really? Even for commercial usage? R3D's such an awesome engine. Just gotta figure out all the intricies of the meshbuilder still. :\
I seem to remember noticing on a topic on the old old forums where you used to have to pay a 30% royalty. XP |
"VB is gay because it's simple, stylish, functional, and simply works as expected." |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Nov 15 2004 : 04:41:59 AM
|
The license changed. Now you can use it even for commercial projects, as long as you display a logo for at least 3 seconds with no interruption, and make a reference to R3D in the readme file. |
Whatever. Who knows... |
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Nov 15 2004 : 12:30:33 PM
|
quote: Originally posted by cbx
Eric's suggestion to install DX9c redist did not work, so I tried the dx9b and that seemed to work. ... Now does that make any sence to anyone? Essentilly MS is saying that when they release a new version of DX that they are not going to be backwards compatible with previous versions!
I think this is a very big problem if Microsoft wants "Managed DirectX" to be taken seriously.
For the record, there were problems like this with Direct 8 and 8.1. The type libraries were different and incompatible, yet when directx 8.1 was released they did not provide a secperate type library, but instead overwrote the old one. I don't remember what the changes were, but they generally didn't effect simple graphics demonstrations. Anyways, the fact is that they've done stuff like this before, but as far I know the changes in Directx 8 only effect VB programs.
The changes in Managed DirectX wouldn't be an issue if the 9.0c end user installation would install previous versions of DirectX.
Ok, I just installed directx 9.0c on a fresh computer. The computer had the 1.0 .NET framework. I tried 2 different methods. First I tried the redistributable version, directx_9c_redist.exe. This is the version that game companies are supposed to put on their game CDs. I also tried the web setup, which is a smaller download.
Neither of those programs installed Mangaged Directx. I was able to get it installed by using the "/InstallManaged" command line switch that CBX suggested. That worked, but not without some problems.
The full redist package contains a "manageddirectx.cab" file, and that's just odd that it doesn't install it by default. Problem two is that the directxsetup.exe file makes no hint that you are supposed to use "/InstallManaged" to install managed directx. You can't use a /? or a /help, and that sucks.
Third, it installed only one version of Managed Directx, 9.02.2904, which is different from what CBX has installed. CBX mentions version 9.02.3900 in his initial post.
What was Microsoft thinking? .NET and Managed Directx might be great for programmers, but who do they expect to use the programs? First, a hidden command line switch is just stupid and I very seriously doubt that many average computer users would even know where to find the command prompt, and even fewer would know how to use it. And then, even if an average user can accomplish that, what are they supposed to do when it installs the wrong version? I'm not stupid, but I was assuming that I would have 9.02.3900 installed when I installed directx 9.0c (directly downloaded from MS today).
What's the point of using .NET and Managed DirectX if it simply won't work as expected for end-users? |
|
|
cbx
Swordmaster
Canada
296 Posts |
Posted - Nov 15 2004 : 5:01:44 PM
|
Don't get me wrond I don't mind the changes, I just wish they would have installed the older managed libraries instead of having to go through all the hassle of tracking down the previous redist containing the old managed libraries, plus on top of that, having to download a 84Mb file just to extract the 1.5Mb worth of files contained within it!
It was only about a week ago that I did my fresh install of windows and installed the DirectX SDK. So I'm not sure why eric seems to have ver 9.02.2904 on his system. Did you install the new october 2004 release of the full sdk (and install all of the options)?
Check this out, the many versions of DX (as they are on my computer) ...
OK Kiddies, are you ready to be confused! Yaaa let get this party started!
After doing a frash install of windows and installing the new october 2004 DX SDK (full install with all options instaled) I have on my system... C:\WINDOWS\assembly\*all 9.0c Microsoft.DirectX libraries are v1.0.2902.0 C:\WINDOWS\Microsoft.NET\Managed DirectX\v9.02.3900 Right clicking and selecting properties on the dx files found in C:\WINDOWS\Microsoft.NET\Managed DirectX\v9.02.3900 will tell you the version of the file is 5.4.0.2904!
... So after installing the DX9.0b redist I also have ...
C:\WINDOWS\assembly\*all 9.0b Microsoft.DirectX libraries are v1.0.900.0 C:\WINDOWS\Microsoft.NET\Managed DirectX\v1.0.900.0 Right clicking and selecting properties on the dx files found in C:\WINDOWS\Microsoft.NET\Managed DirectX\v1.0.900.0 will tell you the version of the file is 5.3.0.900!
NO WAIT! It gets better!!!
Run the "DirectX Diagnostic Tool" and select the "DirectX Files" tab. You will find that files such as the Microsoft.DirectX.dll is reporting a ver 5.04.0000.2904 or ver 5.03.0000.0900 for the Final Retail and Final Debug versions respectivly.
Phew! Seems every where you look no two versions of DX are the same! Yikes! lol How is this stuff even working the first place!
This is versioning hell! |
Created by: X http://www.createdbyx.com/ |
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Nov 15 2004 : 6:06:54 PM
|
quote: Originally posted by cbx
It was only about a week ago that I did my fresh install of windows and installed the DirectX SDK. So I'm not sure why eric seems to have ver 9.02.2904 on his system. Did you install the new october 2004 release of the full sdk (and install all of the options)?
I installed a clean computer (it did not have Directx 9 installed). Visual Studio was not installed on the test machine either. I used a clean machine to make simulate someone installing Directx 9 for the first time to see if it would install the old managed directx files. The directx install programs that I used were downloaded directly from Microsoft's website today, so I obviously had the latest versions.
To add to the problem, on my own personal computer I apparently have two versions, 9.00.0900 and 9.00.1126.
The versions that I'm reporting are from the folder names from C:\WINNT\Microsoft.NET\Managed DirectX\. The version reported by right-clicking and viewing the properties window reports 5.3.0.900 and 5.3.1.1126 respectively for the Microsoft.DirectX.dll file. |
|
|
cbx
Swordmaster
Canada
296 Posts |
Posted - Nov 15 2004 : 6:18:35 PM
|
quote: Originally posted by Eric Coleman
To add to the problem, on my own personal computer I apparently have two versions, 9.00.0900 and 9.00.1126.
lol This is turning into an episode of the twilight zone... BTW I also used to have 9.00.1126 on my system before I did the fresh install of windows. Must have been installed during the original DX9.0 install, when the DX9 was first released to the public ...
|
Created by: X http://www.createdbyx.com/ |
Edited by - cbx on Nov 15 2004 6:22:51 PM |
|
|