I think the problem with your DrawText() function has to do with the parameter &text_rect not getting the proper coordinates stored in the RECT structure. If you manually fill the RECT structure...
Type: Posts; User: TAZIN
I think the problem with your DrawText() function has to do with the parameter &text_rect not getting the proper coordinates stored in the RECT structure. If you manually fill the RECT structure...
I am by no means any good at programming but I'll give it a shot...First off the return for your WinMain function should be message.wParam and not 0. Secondly, setting the text color to white via...