Jump to content
  • Advertisement
Sign in to follow this  
brusinsky

[SlimDX] DrawText not possible in XP

This topic is 3277 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

Is it right that SlimDX DrawText methods are not possible to be used within Windows OSes below Vista due tu the coupling of DrawText to Direct2D? The SimpleText Sample does not run on XP. Do you have other suggestions for drawing Text on XP Systems? Thanks for an hint. Cheers and nice time Andreas

Share this post


Link to post
Share on other sites
Advertisement
Are you running the correct sample? Windows XP doesn't support DX11 (or DX10 for that matter), so there should be no such coupling as Direct2D is a DX11 feature. I think you might be attempting to run the wrong sample.

Look into the SlimDX.Direct3D9.Font class.

Share this post


Link to post
Share on other sites
SimpleText is a Direct2D sample, which is based on Direct3D 10.1 underneath. Neither API is available on XP. You'll have to use Direct3D9.Font as Flimflam has suggested.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!