[Insight-developers] itkMesh GetClassName() and windows.h

Luis Ibanez ibanez@cs.unc.edu
Thu, 01 Mar 2001 10:58:36 -0500


It works fine,
Thanks !

I can even keep the indirect include to "windows.h"
(for which I have no choice because it is included from fltk
headers)    as long as itkWindows.h is included before
itkMesh.h, like:

#include <windows.h>
#include <itkWindows.h>
#include <itkMesh.h>

Is that because of the #undef GetClassName in itkWindows.h ?

Thanks,

Luis


Bill Hoffman wrote:

> You should not include windows.h and mesh.   I
> have created a new file called itkWindows.h, if you include
> that instead of windows.h it will get rid of the problem.