Sign in to follow this  
Anker

What the problem?

Recommended Posts

Hello to all. I have the problem.

I have lesson [url="http://www.braynzarsoft.net/index.php?p=D3D11FONT"]http://www.braynzars...php?p=D3D11FONT[/url]

And i'm trying to do on the basis of the lesson the class to work with text, but i get error "Access violation reading...."

Help me please. I haven't any idea.


I attach my example.

Share this post


Link to post
Share on other sites
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this