While deleting some files on windows XP, I get this message
"Deleting this File Will Make some Programs not Work"
I want to know weather I can produce a particular message, like above, when a file gets deleted.
(May be I need to monitor certain files using hook, and when the hook notifies me of their deletion, I show a messagebox like above. But I want to know how "windows" do it).
"Deleting this File Will Make some Programs not Work"
I want to know weather I can produce a particular message, like above, when a file gets deleted.
(May be I need to monitor certain files using hook, and when the hook notifies me of their deletion, I show a messagebox like above. But I want to know how "windows" do it).
It's enough if you add particular file's or folder's path to to the registry. The file is then "installed" and Windows warns users trying to delete such file/folder. I don't remember which key it is, though.