![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,827
Rep Power: 5
![]() |
Making A Program Run On Startup?
No, I do not mean when a user's session is started. I realise ...
HKEY_LOCALMACHINE > SOFTWARE > MICROSOFT > Windows > CurrentVersion > Run ... will run it when a session is started. I need a program to automatically start before a user even has the chance to log on. I tried googling some stuff already, but I had no clue what specific terms to use. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,206
Rep Power: 5
![]() |
Under windows, the type of program you want to produce is described as a "windows service". The ways of developing such an application are a little challenging: your application needs to communicate with the SCM (Service Control Manager) both to install itself so it can be run independently of a user login, and so the SCM can control it (eg terminate it when windows shuts down).
SCM is often expressed verbally as "scum" which reflects the distaste a fair few developers have at the though of developing windows services. The API is not difficult, but it's not a thing of beauty either. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| Help in making a GUI for a program | DeLoRtEd1 | C++ | 8 | Jan 14th, 2006 3:20 PM |
| making a program rerun itself? | D-Ferg27 | C++ | 24 | Nov 27th, 2005 6:43 PM |
| Tutorials for making a P2P program? | Palladio | C++ | 3 | Nov 26th, 2005 3:51 AM |
| making a program wait | dark_omen | C# | 4 | Jun 6th, 2005 3:48 PM |