This quite short code returns false with GetlastErorr = 18 (no more file). I don't understand what I'm doing wrong.
BOOL result1, result2;
result1 = theFileFinder.FindFile("C:\\WINNT\\system32");
result2 = theFileFinder.FindNextFile();
>>> My goal is to call GetCreationTime after this to get the system directory creation date (of course I won't use the constant string but I'll use "GetSystemDirectory").
Thanks for any hint.