I'm trying to adjust the text-color in a Win32 Console Application. I need to set the text-color with RGB, to adjust it to more than two different nuances.
I've googled a bit and found a CDC-class from the afxwin.h library, but it won't compile.
Error 1 error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h 24
Am I doing something wrong or is there another way to do this?