• Advertisement

Archived

This topic is now archived and is closed to further replies.

I want to ask dx veterans...about dx versioning

This topic is 5496 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You know, dx has different interfaces for different version, as well as many struct. MS say this helps to solve the version problem. However, when you want to upgrade your program to use the newer version of dx, what''s the best way? Search and replace all the type names? Thanks in advance ------------------ qr. li

Share this post


Link to post
Share on other sites
Advertisement
quote:
However, when you want to upgrade your program to use the newer version of dx, what''s the best way? Search and replace all the type names?


That sounds pretty stupid to me - dont forget that the new version is not a new version becausse it changes names, but also because it changes the way things are done. This is pretty little in SDx8/dx9 (well, not SO little if you worked with shaders, and effects are there etc.). A search/replace is a good start, though. But hardly all the work.


Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)

Share this post


Link to post
Share on other sites
I think the "version problem" is more about backwards compatablilty, rather than upgradability. the end user can still run dx3 apps even though dx9 is nothing like dx3. what''s easy about this is that they aren''t limited to sticking within the framework of dx3. they can totally change everything, and still not break old code. As for upgrading, it usually requires a lot more work that just search/replace. but depending on what versions you''re going to/from it could be easy or very hard. DX8 to DX9 is easy though.

Share this post


Link to post
Share on other sites
Yes. It''s annoying if I have to modify my program a lot just for a dx upgrade. So I wonder if there is a way to make it a simple task. But seems hopeless. Sigh.

Share this post


Link to post
Share on other sites

  • Advertisement