Sign in to follow this  
Bluemantis

Trying to use draw primitave shapes

Recommended Posts

I am currently using dev-c++ 4.9.9.0 beta. I was trying to use MoveToEx() and LineTo() methods to draw lines in the client area of a window. However, when I compile the code I get the following errors. [Linker error] undefined reference to `MoveToEx@16' [Linker error] undefined reference to `LineTo@12' Is there something to include? I did some looking around and read something about using Gdi32.lib that is not in my lib folder. Do I need this? Any help would be appreciated.

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