Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Win32 API programming problem
I recently started Windows programming after my c++ courses. I bought a book called Programming Windows 5th edition, and started full of confidence and joy. The problem is now that one of the first and easiest examples in the book, that of a basic win32 window which draws a bit of text doesn't work. Well it works, but if i pres F5 to debug it it doesn't paint any text and if I click the X to close the window the window closes but it doesn't unload, i stays in debugging mode, and if i use the release version I can still see it running in processes tab, and it takes a hell lot of processing power (25% on my 3.6GHZ Q6600). I have no idea what the problem is, maybe someone can help me?
P.S. i have Unicode enabled in the project properties