Är det nån som har använt FindFirstChangeNotification och FindNextChangeNotification som kan hjälpa mig och få detta till att fungera.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hTxtFile = FindFirstChangeNotification("C:\\Proj\TestEvent", false,
FILE_NOTIFY_CHANGE_FILE_NAME |
FILE_NOTIFY_CHANGE_LAST_WRITE |
FILE_NOTIFY_CHANGE_SIZE |
FILE_NOTIFY_CHANGE_ATTRIBUTES |
FILE_NOTIFY_CHANGE_SECURITY);
if(hTxtFile != INVALID_HANDLE_VALUE)
{
nResultFind = FindNextChangeNotification(hTxtFile);
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Misan
Vid redigering....koden blir inte snygg vid för liten textruta =)
[Redigerat av Misan den 26 jul 2001]