Posted by cuongx
on September 12, 2006 at 5:36 AM PDT
Sorry if the same question was asked, if that's true reference me to that thread plz, thanks!
I want to write a desktop application that is run automatically when my os' starting (ie. on windows' start up, but registering my app to windows' system registry is better. If anyone suggests me the same thing on linux and unix, that's so great & cool). Once my app started, it remains in a hidden process that is scheduled to run from minute to minute. Only one signal to show its appearance is that it got a system tray icon alive. It's something like the system clock on system task bar that is started automatically & is still alive all time until we turn off the os. My app has no long-live as the system clock, in fact it can be closed by user when selecting "exit" item on system tray's menu. I got 2 problems:
1. how to tell os to call my app at start up automatically?
2. how to make my app run in hidden process with least RAM (least os's run time memories)?
Thanks a lot for all advice, suggest, whatever helpful and ofcourse, all of you, my advisers.