[Insight-developers] windows

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Aug 30 15:29:13 EDT 2006


There is no dirent.h on windows. If you are bent on using scandir and 
those functions portably, you can look at FLTK/filename.H and 
FLTK/filename_list.cxx ... quite insane really with all those crazy 
hacks. You'd be so much better off with kwsys :)


Mathieu Malaterre wrote:

> Leila Baghdadi wrote:
>
>> hey guys
>>
>> does anyone know if there is an equivalent of dirent.h for windows in
>> which I can use with .Net compiler and handle directories in windows.
>
>
> kwsys::Directory
>
> actually for ITK it should be:
>
> #include <itksys/Directory.hxx>
> itksys::Directory d;
> ...
>
> HTH
> Mathieu
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list