flat assembler
Message board for the users of flat assembler.

Index > Windows > custom message on deletion of file...

Author
Thread Post new topic Reply to topic
shakuni



Joined: 11 Oct 2007
Posts: 24
shakuni 15 May 2008, 15:02
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).

_________________
There is no rule, law or tradition that apply universally... including this one.
Post 15 May 2008, 15:02
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4060
Location: vpcmpistri
bitRAKE 15 May 2008, 15:47
I'm assuming there is an explicit place in the registry for this, or windows scans part of the registry for file links and reports message when found.

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 15 May 2008, 15:47
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.