Einzelnen Beitrag anzeigen

user

Registriert seit: 13. Jul 2010
25 Beiträge
 
Delphi 2 Desktop
 
#3

AW: File notification not fully works on XP

  Alt 13. Jul 2010, 15:12
Hey,

you are sure that this code does the job on Windows XP and not only on Vista/7!? I have not seen any information about this fact. In the readme the author does not say any about compatibility
The code works in my XP and Vista. On XP it can't catch created event of extracted file.

Code:
lbEvents.Items.Add('A nonfolder item has been created ' + Path1);
Where exactly is the problem!? I think you mean this method procedure TShellNotify.WndProc(var Message: TMessage); , right?! But where (in which line) have you set the breakpoint?
Right. I set breakpoint at
Code:
if Message.Msg = WM_SHELLNOTIFY Then
Do you mean that windows xp always sends a WM_SHELLNOTIFY message?! And Visty/7 not!?
Yes. Every time I touch Windows Explorer, the breakpoint stop

I am not sure what I am doing, so I ask for some suggestion here.

Thanks.
  Mit Zitat antworten Zitat