Click here to Skip to main content
15,902,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: WM_PAINT and WM_ERASEBKGND Pin
Member 16192558-Mar-10 20:24
Member 16192558-Mar-10 20:24 
AnswerRe: WM_PAINT and WM_ERASEBKGND Pin
Javad Taheri (drjackool)8-Mar-15 6:06
Javad Taheri (drjackool)8-Mar-15 6:06 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Member 16192558-Mar-10 20:40
Member 16192558-Mar-10 20:40 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Nishad S8-Mar-10 22:02
Nishad S8-Mar-10 22:02 
QuestionAny way to start an application at bootup? Pin
ShaluMalu29-Jan-07 19:37
ShaluMalu29-Jan-07 19:37 
AnswerRe: Any way to start an application at bootup? Pin
Naveen29-Jan-07 20:34
Naveen29-Jan-07 20:34 
AnswerRe: Any way to start an application at bootup? Pin
Roger Stoltz29-Jan-07 21:43
Roger Stoltz29-Jan-07 21:43 
AnswerRe: Any way to start an application at bootup? Pin
James R. Twine30-Jan-07 1:23
James R. Twine30-Jan-07 1:23 
   Since you mentioned bootup, and not at user logon, using the startup folder or the Run key will not work as they require a user logon to take place.  If you really want to use the Registry, you need to use the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices or RunServicesOnce
   Note that the Run key is also ignored in Safe Mode.

   However, I would suggest a Windows Service.  They are designed to be started when the system starts, and will be running when a user logs on and will remain running after a user logs off.  They can easily receive for logon/logoff events.

   If you need finer control the point where your application starts, I think you would have to go the driver route.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

QuestionProblem with WriteFile Pin
amitmistry_petlad 29-Jan-07 19:14
amitmistry_petlad 29-Jan-07 19:14 
AnswerRe: Problem with WriteFile Pin
Stephen Hewitt29-Jan-07 19:34
Stephen Hewitt29-Jan-07 19:34 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 29-Jan-07 22:09
amitmistry_petlad 29-Jan-07 22:09 
GeneralRe: Problem with WriteFile Pin
David Crow30-Jan-07 2:30
David Crow30-Jan-07 2:30 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 2:35
amitmistry_petlad 30-Jan-07 2:35 
QuestionRe: Problem with WriteFile Pin
David Crow30-Jan-07 2:43
David Crow30-Jan-07 2:43 
AnswerRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 3:11
amitmistry_petlad 30-Jan-07 3:11 
GeneralRe: Problem with WriteFile Pin
David Crow30-Jan-07 3:29
David Crow30-Jan-07 3:29 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 11:34
Stephen Hewitt30-Jan-07 11:34 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 16:47
amitmistry_petlad 30-Jan-07 16:47 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 16:54
Stephen Hewitt30-Jan-07 16:54 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 18:00
amitmistry_petlad 30-Jan-07 18:00 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 18:07
Stephen Hewitt30-Jan-07 18:07 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 18:58
amitmistry_petlad 30-Jan-07 18:58 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 19:24
Stephen Hewitt30-Jan-07 19:24 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 19:47
amitmistry_petlad 30-Jan-07 19:47 
Questionfatal error C1001: INTERNAL COMPILER ERROR Pin
devvvy29-Jan-07 15:31
devvvy29-Jan-07 15:31 

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.