- How do I get a HDC for use in a simple code such as this?
I tried copying the code from MSDN: Obtaining a Private Display Device Context, but the compiler throws some errors like:
a value of type "const char *" cannot be assigned to an entity of type "LPCWSTR"
which I have no clue how to fix, as
- I could not find any tutorials on gdiplus that do not require some other previous knowledge.
Can anyone help me with 1 or 2?