I have a problem with non-unicode version of function FindFirstFile(), which on NT fails when trying to enumerate a directory, whose filename has some unicode chars. This gives error message "invalid path". I would use a unicode version, but I want my program to work on Win9x too. Is there any solution (like calling the right function dynamically -- I don't accept any comments like compile one version with _UNICODE and one without this).
Thanks in advance,