Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to know if monitor is connected? Pin
Andrew Kirillov23-Apr-05 21:59
Andrew Kirillov23-Apr-05 21:59 
GeneralRe: How to know if monitor is connected? Pin
IGx8924-Apr-05 4:08
IGx8924-Apr-05 4:08 
GeneralRe: How to know if monitor is connected? Pin
22491724-Apr-05 4:47
22491724-Apr-05 4:47 
GeneralRe: How to know if monitor is connected? Pin
IGx8924-Apr-05 5:18
IGx8924-Apr-05 5:18 
Generalhelp needed for application Pin
_tasleem23-Apr-05 16:58
_tasleem23-Apr-05 16:58 
GeneralRe: help needed for application Pin
22491723-Apr-05 19:43
22491723-Apr-05 19:43 
GeneralRe: help needed for application Pin
_tasleem24-Apr-05 18:50
_tasleem24-Apr-05 18:50 
GeneralRe: help needed for application Pin
22491724-Apr-05 19:07
22491724-Apr-05 19:07 
tasleem143 wrote:
will it works for all users of that computer and will my application will become a service ( not seen on process list of CTRL+ALt+DEl) in xp.

someone told me that if it does not work then u had to write the service.



As stated in my post, It starts the application only if the user login. To make it work for all user login write to the registry path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run But remember it requires administrator privilage to write to this key.

But if you are looking to run your application always irrespetive of whether user logs in or not, then you will have to make your application a NT service. There are several good articles here in codeproject to write NT service. CP search.[^]




suhredayan
There is no spoon.

GeneralVectors Pin
glowskull0323-Apr-05 16:35
glowskull0323-Apr-05 16:35 
GeneralRe: Vectors Pin
Ravi Bhavnani23-Apr-05 16:52
professionalRavi Bhavnani23-Apr-05 16:52 
GeneralRe: Vectors Pin
glowskull0323-Apr-05 17:03
glowskull0323-Apr-05 17:03 
GeneralRe: Vectors Pin
Ravi Bhavnani23-Apr-05 18:17
professionalRavi Bhavnani23-Apr-05 18:17 
Questiondirectshow duplicate filter? Pin
Anonymous23-Apr-05 14:18
Anonymous23-Apr-05 14:18 
GeneralConsole Full Screen Pin
Aqeel A. Mirza23-Apr-05 12:44
sussAqeel A. Mirza23-Apr-05 12:44 
Generalmerging CTabCtrl and CComboBox Pin
nema3223-Apr-05 11:39
nema3223-Apr-05 11:39 
Generalhelp me please !!! Pin
need some help23-Apr-05 11:30
sussneed some help23-Apr-05 11:30 
GeneralRe: help me please !!! Pin
Ravi Bhavnani23-Apr-05 16:51
professionalRavi Bhavnani23-Apr-05 16:51 
GeneralRe: help me please !!! Pin
ThatsAlok24-Apr-05 18:29
ThatsAlok24-Apr-05 18:29 
GeneralCDatabase question Pin
Ivan Cachicatari23-Apr-05 9:36
Ivan Cachicatari23-Apr-05 9:36 
GeneralRe: CDatabase question Pin
22491723-Apr-05 10:01
22491723-Apr-05 10:01 
GeneralRe: CDatabase question Pin
Peter Ritchie24-Apr-05 8:07
Peter Ritchie24-Apr-05 8:07 
GeneralRe: CDatabase question Pin
Ivan Cachicatari8-May-05 4:57
Ivan Cachicatari8-May-05 4:57 
GeneralRe: CDatabase question Pin
Peter Ritchie8-May-05 6:33
Peter Ritchie8-May-05 6:33 
Generalfile find/copy Pin
maikol23-Apr-05 9:12
maikol23-Apr-05 9:12 
GeneralRe: file find/copy Pin
22491723-Apr-05 9:48
22491723-Apr-05 9:48 

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.