Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: API function Pin
David Crow16-Aug-05 11:11
David Crow16-Aug-05 11:11 
GeneralRe: API function Pin
Ravi Bhavnani16-Aug-05 11:14
professionalRavi Bhavnani16-Aug-05 11:14 
GeneralRe: API function Pin
Tim Zorn20-Aug-05 8:52
Tim Zorn20-Aug-05 8:52 
GeneralRe: API function Pin
Ravi Bhavnani20-Aug-05 9:58
professionalRavi Bhavnani20-Aug-05 9:58 
GeneralRe: API function Pin
Tim Zorn20-Aug-05 12:27
Tim Zorn20-Aug-05 12:27 
GeneralRe: API function Pin
Ravi Bhavnani16-Aug-05 11:03
professionalRavi Bhavnani16-Aug-05 11:03 
GeneralRe: API function Pin
David Crow16-Aug-05 11:12
David Crow16-Aug-05 11:12 
GeneralRe: API function Pin
pablo_mag16-Aug-05 13:54
pablo_mag16-Aug-05 13:54 
Ravi Bhavnani wrote:
But if I'm not mistaken, a "Run" entry in the HKEY_LOCAL_MACHINE subtree causes the application to start after any user logs in, as opposed to a corresponding entry for a specific user in the HKEY_USERS subtree which causes the app to only start when that user logs in. Regardless, the user has to first login.


That's the way I've taken it to work, I always have to log in of HKLM\...\Run to take effect.

One thing I suggest doing though, is use Winlogon Notification Packages (assuming you're programming for an NT-based version of windows), you can listen to startup/shutdown/login/logoff and other events.

Check:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthn/security/winlogon_notification_packages.asp


HTH
GeneralRe: API function Pin
Ravi Bhavnani16-Aug-05 13:59
professionalRavi Bhavnani16-Aug-05 13:59 
GeneralRe: API function Pin
pablo_mag16-Aug-05 14:00
pablo_mag16-Aug-05 14:00 
GeneralRe: API function Pin
pablo_mag16-Aug-05 14:01
pablo_mag16-Aug-05 14:01 
Generalim trying to create an image thats a button Pin
Tim Zorn16-Aug-05 7:06
Tim Zorn16-Aug-05 7:06 
GeneralRe: im trying to create an image thats a button Pin
Anonymous17-Aug-05 3:31
Anonymous17-Aug-05 3:31 
GeneralPorting from Windows to Linux Pin
Jnewg516-Aug-05 6:12
Jnewg516-Aug-05 6:12 
GeneralRe: Porting from Windows to Linux Pin
Kevin McFarlane16-Aug-05 11:02
Kevin McFarlane16-Aug-05 11:02 
GeneralRe: Porting from Windows to Linux Pin
markkuk16-Aug-05 22:35
markkuk16-Aug-05 22:35 
Generalstrange breakpoint setting Pin
valerie9916-Aug-05 6:09
valerie9916-Aug-05 6:09 
GeneralRe: strange breakpoint setting Pin
Blake Miller17-Aug-05 4:33
Blake Miller17-Aug-05 4:33 
Generalthanks! Pin
valerie9917-Aug-05 10:00
valerie9917-Aug-05 10:00 
GeneralHelp wanted with Wolfram Steinke's ListBoxTutorial Pin
cgb14316-Aug-05 5:21
cgb14316-Aug-05 5:21 
GeneralRe: Help wanted with Wolfram Steinke's ListBoxTutorial Pin
David Crow16-Aug-05 7:36
David Crow16-Aug-05 7:36 
GeneralRe: Help wanted with Wolfram Steinke's ListBoxTutorial Pin
cgb14316-Aug-05 9:28
cgb14316-Aug-05 9:28 
GeneralString to LPCTSTR conversion Pin
TUMB16-Aug-05 5:04
TUMB16-Aug-05 5:04 
GeneralRe: String to LPCTSTR conversion Pin
RChin16-Aug-05 5:18
RChin16-Aug-05 5:18 
GeneralRe: String to LPCTSTR conversion Pin
TUMB16-Aug-05 5:27
TUMB16-Aug-05 5:27 

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.