c++ Programming Glossary: exitprocess
“listening” to file changes in C/C++ (on Windows) http://stackoverflow.com/questions/1083372/listening-to-file-changes-in-c-c-on-windows n ERROR FindFirstChangeNotification function failed. n ExitProcess GetLastError Watch the subtree for directory creation and deletion... n ERROR FindFirstChangeNotification function failed. n ExitProcess GetLastError Make a final validation check on our handles. if.. ERROR Unexpected NULL from FindFirstChangeNotification. n ExitProcess GetLastError Change notification is set. Now wait on both notification..
How to see if a subfile of a directory has changed http://stackoverflow.com/questions/56682/how-to-see-if-a-subfile-of-a-directory-has-changed n ERROR FindFirstChangeNotification function failed. n ExitProcess GetLastError Watch the subtree for directory creation and deletion... n ERROR FindFirstChangeNotification function failed. n ExitProcess GetLastError and then you wait for a notification while TRUE.. n ERROR FindNextChangeNotification function failed. n ExitProcess GetLastError break case WAIT_OBJECT_0 1 Restart the notification...
|