Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog context help button Pin
Mazdak20-Mar-02 20:17
Mazdak20-Mar-02 20:17 
GeneralRe: Dialog context help button Pin
alex.barylski20-Mar-02 21:00
alex.barylski20-Mar-02 21:00 
GeneralRe: Dialog context help button Pin
PJ Arends20-Mar-02 21:13
professionalPJ Arends20-Mar-02 21:13 
GeneralRe: Dialog context help button Pin
alex.barylski20-Mar-02 21:22
alex.barylski20-Mar-02 21:22 
GeneralRe: Dialog context help button Pin
PJ Arends20-Mar-02 21:48
professionalPJ Arends20-Mar-02 21:48 
GeneralRe: Dialog context help button Pin
alex.barylski20-Mar-02 21:55
alex.barylski20-Mar-02 21:55 
QuestionHow to terminate/close an application launched by ShellExecute ? Pin
20-Mar-02 18:44
suss20-Mar-02 18:44 
AnswerRe: How to terminate/close an application launched by ShellExecute ? Pin
Prem Kumar20-Mar-02 19:58
Prem Kumar20-Mar-02 19:58 
The foll. is an extract from MSDN, 'ShellExecute' documentation.
You cannot do anything with the HINSTANCE, better use CreateProcess,
from which you will get the process information(which contains the
correct handle to the process, and use 'TerminateProcess'.

[Return value for ShellExecute]
Returns a value greater than 32 if successful, or an error value that is less than or equal to 32 otherwise. The following table lists the error values. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Microsoft® Windows® applications. It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an integer and compare it with the value 32 or one of the error codes below.
AnswerRe: How to terminate/close an application launched by ShellExecute ? Pin
Nish Nishant20-Mar-02 21:28
sitebuilderNish Nishant20-Mar-02 21:28 
AnswerRe: How to terminate/close an application launched by ShellExecute ? Pin
Joaquín M López Muñoz20-Mar-02 22:04
Joaquín M López Muñoz20-Mar-02 22:04 
Generalexecuting older version application in new version Pin
Bhikshapathi Gorantla20-Mar-02 18:16
Bhikshapathi Gorantla20-Mar-02 18:16 
GeneralRe: executing older version application in new version Pin
Tomasz Sowinski20-Mar-02 22:31
Tomasz Sowinski20-Mar-02 22:31 
GeneralCPP C# Pin
20-Mar-02 18:16
suss20-Mar-02 18:16 
GeneralRe: CPP C# Pin
Tomasz Sowinski20-Mar-02 22:44
Tomasz Sowinski20-Mar-02 22:44 
GeneralBaffling Thread problem Pin
MarkPQ20-Mar-02 18:12
MarkPQ20-Mar-02 18:12 
GeneralRe: Baffling Thread problem Pin
Vivek Rajan20-Mar-02 18:57
Vivek Rajan20-Mar-02 18:57 
GeneralRe: Baffling Thread problem Pin
MarkPQ20-Mar-02 19:13
MarkPQ20-Mar-02 19:13 
GeneralRe: Baffling Thread problem Pin
Tomasz Sowinski20-Mar-02 22:34
Tomasz Sowinski20-Mar-02 22:34 
GeneralRe: Baffling Thread problem Pin
MarkPQ21-Mar-02 15:20
MarkPQ21-Mar-02 15:20 
GeneralWriting to a file.. Pin
Neha20-Mar-02 17:44
Neha20-Mar-02 17:44 
GeneralRe: Writing to a file.. Pin
Paul M Watt20-Mar-02 17:54
mentorPaul M Watt20-Mar-02 17:54 
GeneralRe: Writing to a file.. Pin
Neha20-Mar-02 18:14
Neha20-Mar-02 18:14 
GeneralRe: Writing to a file.. Pin
Neha20-Mar-02 19:42
Neha20-Mar-02 19:42 
General#pragma Pin
bryce20-Mar-02 17:09
bryce20-Mar-02 17:09 
General#pragma warning( disable : 4006) Pin
Paul M Watt20-Mar-02 17:29
mentorPaul M Watt20-Mar-02 17:29 

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.