How to check if a program is launched from autorun?

Is there a way in C ++ to check if my program is running by a user or from autorun? I want to show / not show the window in these cases.

+6
source share
1 answer

Make an autostart entry for the given command line flag, for example /nowin .

+9
source

All Articles