Click here to Skip to main content
15,846,078 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Win32: Get message notification of other application's close/exit. Pin
Rajesh R Subramanian16-May-09 4:51
professionalRajesh R Subramanian16-May-09 4:51 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Stuart Dootson16-May-09 14:12
professionalStuart Dootson16-May-09 14:12 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
WindowsPistha17-May-09 3:56
WindowsPistha17-May-09 3:56 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Randor 17-May-09 8:03
professional Randor 17-May-09 8:03 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Identity Undisclosed3-Jun-09 20:43
Identity Undisclosed3-Jun-09 20:43 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Randor 6-Jun-09 0:57
professional Randor 6-Jun-09 0:57 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Joe Woodbury16-May-09 19:07
professionalJoe Woodbury16-May-09 19:07 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Identity Undisclosed3-Jun-09 21:00
Identity Undisclosed3-Jun-09 21:00 
Hello,

This is the solution I found from another source:

=======================================================
Apart from WMI, a nice and elegant way to do that is to place a small DLL "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs"
(see also http://support.microsoft.com/kb/197571 - "Working with the AppInit_DLLs registry value")
DLLs listed in AppInit_DLLs will be loaded into every newly created process and will allow you to perform any notification via the DLL's 'DllMain().

Let me know, if you need help with source code.

Top 10, Top ten, Top 10 lists, Top ten lists
Top 10 about everything

GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Randor 6-Jun-09 1:07
professional Randor 6-Jun-09 1:07 
QuestionTRACE with Unciode? Pin
sashoalm16-May-09 2:14
sashoalm16-May-09 2:14 
AnswerRe: TRACE with Unciode? Pin
Rajesh R Subramanian16-May-09 2:24
professionalRajesh R Subramanian16-May-09 2:24 
AnswerRe: TRACE with Unciode? Pin
Rick York16-May-09 19:03
mveRick York16-May-09 19:03 
QuestionGraphics in cpp Pin
Markandaiya Harsh16-May-09 1:28
Markandaiya Harsh16-May-09 1:28 
AnswerRe: Graphics in cpp Pin
Rajesh R Subramanian16-May-09 1:33
professionalRajesh R Subramanian16-May-09 1:33 
QuestionHi Doubt on Visual C++ Pin
Sakthi.Gs :-)15-May-09 22:26
Sakthi.Gs :-)15-May-09 22:26 
AnswerRe: Hi Doubt on Visual C++ Pin
Rajesh R Subramanian15-May-09 23:53
professionalRajesh R Subramanian15-May-09 23:53 
QuestionCreate file with full permission control to user. Pin
Le@rner15-May-09 21:54
Le@rner15-May-09 21:54 
AnswerRe: Create file with full permission control to user. Pin
Taran915-May-09 22:12
Taran915-May-09 22:12 
GeneralRe: Create file with full permission control to user. Pin
Le@rner15-May-09 22:17
Le@rner15-May-09 22:17 
GeneralRe: Create file with full permission control to user. Pin
sashoalm16-May-09 1:06
sashoalm16-May-09 1:06 
QuestionRe: Create file with full permission control to user. Pin
Rajesh R Subramanian16-May-09 1:36
professionalRajesh R Subramanian16-May-09 1:36 
AnswerRe: Create file with full permission control to user. Pin
Le@rner17-May-09 19:56
Le@rner17-May-09 19:56 
QuestionHandling Shift + Tab key combination Pin
V K 215-May-09 20:31
V K 215-May-09 20:31 
AnswerRe: Handling Shift + Tab key combination Pin
zakkas248315-May-09 21:37
zakkas248315-May-09 21:37 
AnswerRe: Handling Shift + Tab key combination Pin
Taran915-May-09 21:49
Taran915-May-09 21: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.