mercredi 15 juin 2016

Determine how the app has been launched - by user or by auto launch


My Windows app can be launched by user or by autolaunch (registry, 'SoftwareMicrosoftWindowsCurrentVersionRun').

Is it possible to determine the way my app has been launched?

The only way that I found - to add command line parameters. Something like myapp.exe -auto and myapp.exe -user. Is it possible to avoid command line parameters?


Aucun commentaire:

Enregistrer un commentaire