Advertisement
2002C Windows System Services #14375

OO7

This submission subclasses a folder via a com object I created. The COM object uses a callback to a function defined in a module , through an undocumented API which hooks into the event notification system of the shell. In this a case I created a small form to allow you to see it in action. Click Command1 To register the window for notification of events triggered in the C:\temp folder or any folder you want(just change the code), Then copy a file into the folder,or rename a file in the folder, or delete one- whatever. You will get a msgbox alerting your application window that an event has occurred. It also logs to the NT log or a textfile, and detects the current operating system (all via the windows API). I use this in place of timer based routines that just wait poll folder for the existence files. Like the SMTP Service.

AI

Resumen de IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Código fuente
original-source
Upload
Comentarios originales (3)
Recuperado de Wayback Machine