• Advertisement
Sign in to follow this  

C with DirectX 9

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

Ive been programming on DirectX 9 for some time now, first i was using the managed version using C# but then my computer kept getting slow frame rates like 0.60 fps so i switched to DX9b using the C language. I understand that C# and C++ can fully take advantage of DX9's features, but i was just wondering if there are some features of DX9 that cannot be used with C? or is C not fully compatible with DX9?

Share this post


Link to post
Share on other sites
Advertisement
Anything goes (I've seen people initialising DX from an assembler-only program). But the way it is meant to be, DX is for C++ (and VB, etc). It uses OOP to some extent, which C does not natively support.

Greetz,

Ill.

Share this post


Link to post
Share on other sites
DirectX is written in C. It does use OO, but uses it in C. I remember mention of a few features that could be taken advantage of using C++, but I believe these were related to making the programming easier, not actual functionality.

Share this post


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

  • Advertisement