Sign in to follow this  

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

okay so i got Beginning Game Programming, the book, and i'm trying to compile one of the early programs, except a couple of my functions aren't being declared ANYWHERE. the windows.h include does not have them (setpixel() and getstockobject()). i of course googled them and found that i may need to link gdi32.lib into my program, but i cant find it anywhere! can anyone tell me where to find it? if you don't have a link, could you search on your system for it and email it to me? let me know here and ill give you my email address. thankx in advance to anyone who has an answer! i know its out there!

Share this post


Link to post
Share on other sites
You need to have the Windows Platform SDK, it is available for free from Microsoft's developer site. My directory path to it seems to be
..\Microsoft Visual Studio 8\VC\PlatformSDK\Lib.

Share this post


Link to post
Share on other sites

This topic is 4226 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.

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