Guest_imported
New member
- Jan 1, 1970
- 0
ReadDirectoryChangesW
impossible to use this API function. i get a "Undeclared Identifier" message from the compiler for the line :
"ReadDirectoryChangesW(TargetDirHandle,&FileInfo,sizeof(FILE_NOTIFY_INFORMATION),FALSE,NotifyFlags,lpBytesReturned,0,&FileIOCompletionRoutine);"
windows.h is included - of course and the Kernel32.lib is linked.
i even tried opening a new workspace and adding the files to it. i got the same problem in compilation.
the only problem is with this line. when i remove it, compilation goes fine.
the winbase.h file seems fine - the function is defined well.
impossible to use this API function. i get a "Undeclared Identifier" message from the compiler for the line :
"ReadDirectoryChangesW(TargetDirHandle,&FileInfo,sizeof(FILE_NOTIFY_INFORMATION),FALSE,NotifyFlags,lpBytesReturned,0,&FileIOCompletionRoutine);"
windows.h is included - of course and the Kernel32.lib is linked.
i even tried opening a new workspace and adding the files to it. i got the same problem in compilation.
the only problem is with this line. when i remove it, compilation goes fine.
the winbase.h file seems fine - the function is defined well.