>Hello, i need to develop a daemon, this is the situation...
>i have database with a table that contains a date column, so i want to develop a Component that keeps running all time in the background, so every midnight this component checks for the dates contained in the table, and fires and event if the date contained in the record it´s equal to current date...
>
Why not go at it in a different fashion - use the Scheduler (in Win9x) or the operating system AT command (NT/Win2K) to fire an application on a scheduled basis; doesn't eat the system spinning it's wheels eating up the CPU.