#include <windows.h>
HANDLE hRoot = FindFirstFileEx("\prj\*", FindExInfoMaxInfoLevel, &fdRoot,FindExSearchNameMatch,NULL,FIND_FIRST_EX_CASE_SENSITIVE);
CloseHandle(hRoot);
hRoot = FindFirstFile("\prj\*", &fdRoot);
CloseHandle(hRoot);
first call returns INVALID_HANDLE_VALUE but the dir exists.
second call succeeds but finds nothing.
are these functions in 6.4.0 pointing to the right function in kernel32?
Please use double backslashes in string literals -- see http://en.cppreference.com/w/cpp/language/escape