• Advertisement
Sign in to follow this  

What the problem?

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

Advertisement
You have almost no error checking in your code, and where you do have error checking it is often incorrect (e.g. return 1 is the same as return true, and your calling functions will think that the function succeeded).

You need to start smaller and try get a minimal program working first. Trying to get all this working in one big go is a very complicated task unless you are familiar with the technologies.

There is some other really poor ideas in there, such as declaring Windows types and functions (e.g. the declaration of WNDCLASS in InitialiseWindow and PeekMessageL() in messageloop()).

Share this post


Link to post
Share on other sites
Thanks.
Now I'm trying to learn how to develop program by directx 11, but there are very little the books and lessons bu directx 11.
Are there any examples with using class by directx 11(such as font, etc.) Edited by Anker

Share this post


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

  • Advertisement