Hello, im trying to use SetPixel() to create a pixel on my dos console application.
I'm not sure how to use it.
I tryed:
SetPixel(hDC, 10,10, RGB(0,0,255));
It's compiling but it's giving me an error when i open it.
hDC is not initialized.
Thank you and i hope you can help me.
I'm actually not sure how to initialize it.