GetDC: function does not take 0 arguments
GetRC: undeclared identifier
I presume this has to do with the fact that I'm on Windows and, I guess, you are on Linux or, at least, something using X11.
I found out that I had to pas GetHWND to GetDC, but for the second error I have no clue what to do.