Click here to Skip to main content
15,906,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help in assembler. Pin
Tim Smith15-Nov-03 16:21
Tim Smith15-Nov-03 16:21 
GeneralRe: Help in assembler. Pin
Snyp15-Nov-03 16:42
Snyp15-Nov-03 16:42 
GeneralRe: Help in assembler. Pin
Joe Woodbury15-Nov-03 18:45
professionalJoe Woodbury15-Nov-03 18:45 
GeneralRe: Help in assembler. Pin
Chris Richardson15-Nov-03 23:49
Chris Richardson15-Nov-03 23:49 
GeneralRe: Help in assembler. Pin
Snyp16-Nov-03 7:50
Snyp16-Nov-03 7:50 
GeneralRe: Help in assembler. Pin
Christian Graus16-Nov-03 16:19
protectorChristian Graus16-Nov-03 16:19 
QuestionHow do startup programs work. Pin
Snyp15-Nov-03 13:56
Snyp15-Nov-03 13:56 
AnswerRe: How do startup programs work. Pin
Antti Keskinen15-Nov-03 14:20
Antti Keskinen15-Nov-03 14:20 
Hmm..

I can't really understand what you mean. If you want to create a program that runs automatically at start-up, you just build the program and add it's shorcut to the 'Startup' folder of your Start->Programs.

Alternatively you can write a registry entry to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run. See the example entries in that key and create a new key for your program.

If you are planning to create a Win32 service, which starts on an NT/2k/XP (or networked 98/Me) machine before the user logs in, then I can point you to a starting location. The easiest way is to follow the guidelines of Xiangyang Liu's article Start Your Windows Programs From An NT Service[^]
Otherwise, you might want to look up other articles in the MFC/C++->System->Services section of CodeProject.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: How do startup programs work. Pin
Snyp15-Nov-03 14:23
Snyp15-Nov-03 14:23 
GeneralRe: How do startup programs work. Pin
Antti Keskinen15-Nov-03 14:39
Antti Keskinen15-Nov-03 14:39 
QuestionGet the first sector of harkdisk in vc++ ? Pin
kendao15-Nov-03 13:38
kendao15-Nov-03 13:38 
AnswerRe: Get the first sector of harkdisk in vc++ ? Pin
Michael Gunlock16-Nov-03 5:54
Michael Gunlock16-Nov-03 5:54 
Questioncreate 100 button in dialog with code ? Pin
kendao15-Nov-03 13:34
kendao15-Nov-03 13:34 
AnswerRe: create 100 button in dialog with code ? Pin
Snyp15-Nov-03 14:23
Snyp15-Nov-03 14:23 
AnswerRe: create 100 button in dialog with code ? Pin
Antti Keskinen15-Nov-03 14:34
Antti Keskinen15-Nov-03 14:34 
GeneralC++ Question. Pin
WREY15-Nov-03 12:39
WREY15-Nov-03 12:39 
GeneralRe: C++ Question. Pin
Antti Keskinen15-Nov-03 14:50
Antti Keskinen15-Nov-03 14:50 
GeneralRe: C++ Question. Pin
WREY15-Nov-03 16:22
WREY15-Nov-03 16:22 
GeneralRe: C++ Question. Pin
Michael Dunn15-Nov-03 16:37
sitebuilderMichael Dunn15-Nov-03 16:37 
GeneralRe: C++ Question. Pin
WREY15-Nov-03 17:49
WREY15-Nov-03 17:49 
GeneralRe: C++ Question. Pin
Peter Weyzen15-Nov-03 18:26
Peter Weyzen15-Nov-03 18:26 
GeneralRe: C++ Question. Pin
Christian Graus16-Nov-03 16:22
protectorChristian Graus16-Nov-03 16:22 
GeneralHelp with searching for things in text files. Pin
Snyp15-Nov-03 12:00
Snyp15-Nov-03 12:00 
GeneralRe: Help with searching for things in text files. Pin
Peter Molnar15-Nov-03 14:42
Peter Molnar15-Nov-03 14:42 
GeneralRe: Help with searching for things in text files. Pin
Snyp15-Nov-03 14:44
Snyp15-Nov-03 14:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.