Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCComboBox in CHeaderCtrl of CListCtrl Pin
Sheebuk29-Oct-09 0:03
Sheebuk29-Oct-09 0:03 
AnswerRe: CComboBox in CHeaderCtrl of CListCtrl Pin
Iain Clarke, Warrior Programmer29-Oct-09 3:07
Iain Clarke, Warrior Programmer29-Oct-09 3:07 
GeneralRe: CComboBox in CHeaderCtrl of CListCtrl Pin
Sheebuk29-Oct-09 5:50
Sheebuk29-Oct-09 5:50 
QuestionMaking a DNS (domain name system) resolver with c++ [modified] Pin
marti8628-Oct-09 23:59
marti8628-Oct-09 23:59 
AnswerRe: Making a DNS (domain name system) resolver with c++ Pin
David Crow29-Oct-09 2:40
David Crow29-Oct-09 2:40 
QuestionExecuting a process a startup of System?(Vista & Windows 2008) [modified] Pin
Kushagra Tiwari28-Oct-09 23:40
Kushagra Tiwari28-Oct-09 23:40 
AnswerRe: Executing a process a startup of System?(Vista & Windows 2008) Pin
Iain Clarke, Warrior Programmer29-Oct-09 0:19
Iain Clarke, Warrior Programmer29-Oct-09 0:19 
AnswerRe: Executing a process a startup of System?(Vista & Windows 2008) Pin
Kushagra Tiwari29-Oct-09 0:42
Kushagra Tiwari29-Oct-09 0:42 
Hi Iain,

I got my solution . What I did was I made my service a part of ServiceGroup (SCSI Class) and by doing this I was able to start my service much before the Login Dialog comes into picture after the system is booted up and thus at this time I checked for Number of active users using api NetWkstaUserEnum . At this time the count comes to be zero and thus I am able to spawn my process at startup of the system even before the user has logged on.

Somebody please mark this answer as this solution works fine.

Regards,
Kushagra
GeneralRe: Executing a process a startup of System?(Vista & Windows 2008) Pin
dxlee29-Oct-09 3:48
dxlee29-Oct-09 3:48 
GeneralRe: Executing a process a startup of System?(Vista & Windows 2008) Pin
Kushagra Tiwari29-Oct-09 4:00
Kushagra Tiwari29-Oct-09 4:00 
GeneralRe: Executing a process a startup of System?(Vista & Windows 2008) Pin
dxlee29-Oct-09 4:02
dxlee29-Oct-09 4:02 
GeneralRe: Executing a process a startup of System?(Vista & Windows 2008) Pin
Kushagra Tiwari29-Oct-09 4:04
Kushagra Tiwari29-Oct-09 4:04 
QuestionHow to check if any specific folder is empty Pin
sunny_vc28-Oct-09 23:07
sunny_vc28-Oct-09 23:07 
AnswerRe: How to check if any specific folder is empty Pin
Richard MacCutchan28-Oct-09 23:21
mveRichard MacCutchan28-Oct-09 23:21 
AnswerRe: How to check if any specific folder is empty Pin
Randor 28-Oct-09 23:23
professional Randor 28-Oct-09 23:23 
QuestionRe: How to check if any specific folder is empty Pin
Iain Clarke, Warrior Programmer29-Oct-09 0:21
Iain Clarke, Warrior Programmer29-Oct-09 0:21 
AnswerRe: How to check if any specific folder is empty Pin
sunny_vc29-Oct-09 0:33
sunny_vc29-Oct-09 0:33 
GeneralRe: How to check if any specific folder is empty [modified] Pin
Michael Schubert29-Oct-09 1:04
Michael Schubert29-Oct-09 1:04 
GeneralRe: How to check if any specific folder is empty Pin
sunny_vc29-Oct-09 1:49
sunny_vc29-Oct-09 1:49 
AnswerRe: How to check if any specific folder is empty Pin
Blake Miller3-Nov-09 10:54
Blake Miller3-Nov-09 10:54 
QuestionProblem in inserting new page during print - MFC Pin
diptipanchal28-Oct-09 22:27
diptipanchal28-Oct-09 22:27 
AnswerRe: Problem in inserting new page during print - MFC Pin
David Crow29-Oct-09 2:46
David Crow29-Oct-09 2:46 
QuestionWin 2K IIS 5.0 hangs Pin
ptr_Electron28-Oct-09 21:20
ptr_Electron28-Oct-09 21:20 
QuestionCombo Pin
kumar sanghvi28-Oct-09 20:25
kumar sanghvi28-Oct-09 20:25 
AnswerRe: Combo [modified] Pin
Adam Roderick J28-Oct-09 22:01
Adam Roderick J28-Oct-09 22:01 

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.