Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Using ReadDirectoryChangesW

Name: Anonymous 2006-11-11 17:11

ReadDirectoryChangesW reports any changes to a folder (file being renamed, removed, etc).

Sometimes it returns long filenames, sometimes short.
Sometimes it's impossible to convert between long and short filenames (notably when a file is deleted).
Sometimes the short filename for a file changes without actually touching that file at all.

Is it possible to actually use that function reliably?

Name: Anonymous 2006-11-12 17:19

>>5
| An application would need to keep a cache of both short and long | file names to match them up when the notification is received.

Easy.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List