Win32 API, Directories with Unicode / Wide Filenames, FindFirstFileW, FindNextFileW

2006-01-25 Thread Dewey Allen
I previously posted the following to the perl-win32-users list (early yesterday). This has a few updates. I have a Win32 Perl coding challenge to search a directory (WinXP, NTFS) with a file specification pattern where the directory may contain files with unicode / wide filenames in addition

Re: Win32 API, Directories with Unicode / Wide Filenames, FindFirstFileW, FindNextFileW

2006-01-25 Thread $Bill Luebkert
Dewey Allen wrote: > > The following example script runs (and sometimes crashes) but for > filenames with only ANSI characters, $FileInfo->{cFileName}, seems to > contain only the first character. And for filenames that start with > unicode, wide characthers, $FileInfo->{cFileName}, seems to