[argyllcms] Re: V1.6.1 'ICM_DONE_OUTSIDEDC' undeclared

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2013 18:00:18 +1000

Nikolay Pokhilchenko wrote:

> spectro\dispwin.c: In function 'MainWndProc':
> spectro\dispwin.c:4117:25: error: 'ICM_DONE_OUTSIDEDC' undeclared (first use 
> in this function)
>     if (!SetICMMode(hdc, ICM_DONE_OUTSIDEDC)) {

Hmm. I'd imagine that it is a problem in your SDK.
ICM_DONE_OUTSIDEDC is standard since Windows 2000:
<http://msdn.microsoft.com/en-us/library/windows/desktop/dd372195%28v=vs.85%29.aspx>

Perhaps MingW is missing some things ?

MingW64 seems to have it.

I've updated <http://www.argyllcms.com/Argyll_V1.6.1_src.zip>
with a workaround.

Graeme Gill.


Other related posts: