title: In c++ win, run console app as hidden window before login and then after login tray icon to unhide
body: <p>Let’s say I have a tcp/ip server application that I wrote in win32 c++ as a console application.</p>
  <p>Now I want this application to run automatically in the background as soon as the system finishes booting with the console window hidden, and not requiring the user to login to his account.  Additionally I would like a small icon to appear in the users tray after the user login that the user can use to hide and unhide the console application started before login.</p>
  <p>How would I do this in windows 10/11?  Or do you have any ideas how to approximate this behavior?</p>