Click here to Skip to main content
15,924,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Newbie question - data storage Pin
ruzu21-Jan-06 3:13
ruzu21-Jan-06 3:13 
AnswerRe: Newbie question - data storage Pin
Lilith.C21-Jan-06 4:19
Lilith.C21-Jan-06 4:19 
GeneralRe: Newbie question - data storage Pin
ruzu21-Jan-06 5:21
ruzu21-Jan-06 5:21 
GeneralRe: Newbie question - data storage Pin
Stephen Hewitt21-Jan-06 17:36
Stephen Hewitt21-Jan-06 17:36 
QuestionRe: Newbie question - data storage Pin
Lilith.C20-Jan-06 16:59
Lilith.C20-Jan-06 16:59 
AnswerRe: Newbie question - data storage Pin
Stephen Hewitt20-Jan-06 19:32
Stephen Hewitt20-Jan-06 19:32 
QuestionDetermine if running during logon process. Pin
ShawnTassie20-Jan-06 7:51
ShawnTassie20-Jan-06 7:51 
AnswerRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 8:02
Toby Opferman20-Jan-06 8:02 
If you want to determine if you are being run during logon by a script you may want to look at your parent processes. I believe, don't remember right now, but during logon the scripts are executed by USERINIT.EXE and not WINLOGON.EXE (If they are executed by WINLOGON.EXE USERINIT.EXE will still be present and it goes away after you have logged in).

So, either a) your parent process or parent's parent will be USERINIT or it will be WINLOGON and USERINIT will still be running and present on the system.

You should do some experiments with walking your parent process. USERINIT does not go away until all logon scripts have run (They are synchronous unless you start a seperate process and don't wait). So, even if USERINIT is your parent after logon, USERINIT goes away so you will see it as the parent of explorer, but the process will not exist anymore.

This is one way; there are other methods which can be attempted some more complex and require system components.

8bc7c0ec02c0e404c0cc0680f7018827ebee
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 8:12
ShawnTassie20-Jan-06 8:12 
AnswerRe: Determine if running during logon process. Pin
Rama Krishna Vavilala20-Jan-06 8:54
Rama Krishna Vavilala20-Jan-06 8:54 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 9:30
ShawnTassie20-Jan-06 9:30 
GeneralRe: Determine if running during logon process. Pin
Rama Krishna Vavilala20-Jan-06 9:46
Rama Krishna Vavilala20-Jan-06 9:46 
GeneralRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 9:41
Toby Opferman20-Jan-06 9:41 
GeneralRe: Determine if running during logon process. Pin
Rama Krishna Vavilala20-Jan-06 9:50
Rama Krishna Vavilala20-Jan-06 9:50 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 9:52
ShawnTassie20-Jan-06 9:52 
GeneralRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 10:24
Toby Opferman20-Jan-06 10:24 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 15:01
ShawnTassie20-Jan-06 15:01 
GeneralRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 19:11
Toby Opferman20-Jan-06 19:11 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie21-Jan-06 2:21
ShawnTassie21-Jan-06 2:21 
AnswerRe: Determine if running during logon process. Pin
ShawnTassie21-Jan-06 4:29
ShawnTassie21-Jan-06 4:29 
QuestionProfeller Pin
need4change20-Jan-06 7:15
need4change20-Jan-06 7:15 
QuestionRe: Profeller Pin
David Crow20-Jan-06 7:21
David Crow20-Jan-06 7:21 
AnswerRe: Profeller Pin
Toby Opferman20-Jan-06 7:27
Toby Opferman20-Jan-06 7:27 
AnswerRe: Profeller Pin
Cedric Moonen20-Jan-06 8:17
Cedric Moonen20-Jan-06 8:17 
Questionwhy is my control BEEPING??? Pin
stephen.hazel20-Jan-06 6:25
stephen.hazel20-Jan-06 6:25 

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.