Click here to Skip to main content
15,921,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get processor ID Pin
Farhan Nawazish15-Nov-02 2:12
sussFarhan Nawazish15-Nov-02 2:12 
AnswerRe: How to get processor ID Pin
Dominik Reichl15-Nov-02 2:21
Dominik Reichl15-Nov-02 2:21 
GeneralWindows Messenger Addin Pin
[xan]15-Nov-02 1:45
[xan]15-Nov-02 1:45 
GeneralProperty Sheet placement Pin
Richard Lewis15-Nov-02 0:45
Richard Lewis15-Nov-02 0:45 
GeneralPlease Help........ Pin
Prateeti15-Nov-02 0:12
Prateeti15-Nov-02 0:12 
GeneralRe: Please Help........ Pin
Rickard Andersson2015-Nov-02 0:42
Rickard Andersson2015-Nov-02 0:42 
GeneralUrgent help needed! Pin
Joan M14-Nov-02 23:58
professionalJoan M14-Nov-02 23:58 
GeneralRe: Urgent help needed! Pin
Daniel Turini15-Nov-02 0:09
Daniel Turini15-Nov-02 0:09 
You can't do it. Hmmm, maybe with help of debugging APIs, but it's still too much trouble.

If you need a fast solution: a workaround for this would be creating a second application that monitors the first one. The first opens a file and locks it for exclusive user and the monitor keeps trying to open the file for exclusive use too. When it succeeds, the first application has been shutdown.

If you think the user can shutdown the monitor application, you can have both applications monitoring for each one.

The file locking is only a sample and can be substituted for any Windows object that can be created on a global context, like mutexes.


My latest article:
SQL Server DO's and DONT's[^]
GeneralRe: Urgent help needed! Pin
Joan M15-Nov-02 0:42
professionalJoan M15-Nov-02 0:42 
GeneralRe: Urgent help needed! Pin
Daniel Turini15-Nov-02 1:06
Daniel Turini15-Nov-02 1:06 
GeneralRe: Urgent help needed! Pin
Joan M15-Nov-02 1:42
professionalJoan M15-Nov-02 1:42 
GeneralRe: Urgent help needed! Pin
Daniel Turini15-Nov-02 2:31
Daniel Turini15-Nov-02 2:31 
GeneralRe: Urgent help needed! Pin
Joan M15-Nov-02 3:31
professionalJoan M15-Nov-02 3:31 
GeneralRe: Urgent help needed! Pin
smartptr4-Dec-02 10:11
smartptr4-Dec-02 10:11 
GeneralCHtmlView and IDispatch Pin
Taka Muraoka14-Nov-02 23:30
Taka Muraoka14-Nov-02 23:30 
GeneralProper way to send e-mail Pin
georgiek5014-Nov-02 23:25
georgiek5014-Nov-02 23:25 
GeneralRe: Proper way to send e-mail Pin
benjymous14-Nov-02 23:58
benjymous14-Nov-02 23:58 
GeneralRe: Proper way to send e-mail Pin
Rickard Andersson2015-Nov-02 0:44
Rickard Andersson2015-Nov-02 0:44 
GeneralRe: Proper way to send e-mail Pin
georgiek5015-Nov-02 1:19
georgiek5015-Nov-02 1:19 
GeneralAssociateColorProfileWithDevice Pin
Richard Boesiger14-Nov-02 23:15
Richard Boesiger14-Nov-02 23:15 
GeneralProblem with PaintRgn()... Pin
Neha14-Nov-02 22:51
Neha14-Nov-02 22:51 
GeneralRe: Problem with PaintRgn()... Pin
NormDroid15-Nov-02 8:50
professionalNormDroid15-Nov-02 8:50 
GeneralActive Desktop Pin
Grep14-Nov-02 22:47
Grep14-Nov-02 22:47 
GeneralCreateFile on COM1 Pin
Anonymous14-Nov-02 22:21
Anonymous14-Nov-02 22:21 
GeneralRe: CreateFile on COM1 Pin
NormDroid15-Nov-02 8:49
professionalNormDroid15-Nov-02 8:49 

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.