Windows- C code to make a program run at startup -


I am creating a C program that is running with administrator privileges, another .exe to run on startup (Also in C) makes use of other answers .net in the background, for one / all user, but how do I do it in C, develop in minGW?

then

  1. C code that sets a program to run on startup

  2. In the background To run the program installed (without opening the terminal)

    Yes, I think it's quite specific enough for myself :-)

    1. You can register your program in the Windows Registry for a list of programs running on your program startup .

    2. You must link to the window subsystem instead of the console subsystem. When adding your code to -Wl, -subsystem, windows to GCC can be done by passing .

Comments