Board index » cppbuilder » Program started from Autostart?

Program started from Autostart?


2003-10-27 09:37:54 PM
cppbuilder96
Hello,
from where does I know, if my program is started by Windows-start
through Autostart-folder or it is started from anywhere?
Thanks
Martin
 
 

Re:Program started from Autostart?

Have you considered passing a command-line argument to your app to
distinguish from where it was started? This could easily be done by
modifying the shortcut.
"Martin" < XXXX@XXXXX.COM >wrote in message
Quote
Hello,

from where does I know, if my program is started by Windows-start
through Autostart-folder or it is started from anywhere?

Thanks
Martin