Hello I am trying to create a brush but I am having problem with SelectObject this line of code:
Brush_C = SelectObject(hdc_TS, hBrush);
The error is like this:
line 231: error: invalid conversion from `void*' to `HBRUSH__*'
How do I do to get it work?
A simple cast will fix that for you: