Click here to Skip to main content
15,917,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 5:44
toxcct13-May-04 5:44 
GeneralRe: A funny thing happened to me. Who can explain? Pin
David Crow13-May-04 6:28
David Crow13-May-04 6:28 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 6:35
toxcct13-May-04 6:35 
GeneralRe: A funny thing happened to me. Who can explain? Pin
David Crow13-May-04 6:48
David Crow13-May-04 6:48 
AnswerRe: A funny thing happened to me. Who can explain? Pin
vividtang14-May-04 0:29
vividtang14-May-04 0:29 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Anand Paranjpe14-May-04 0:37
Anand Paranjpe14-May-04 0:37 
AnswerRe: A funny thing happened to me. Who can explain? Pin
Anand Paranjpe14-May-04 0:34
Anand Paranjpe14-May-04 0:34 
GeneralSharing violation error when loading a DLL Pin
DaFrawg13-May-04 1:08
DaFrawg13-May-04 1:08 
GeneralRe: Sharing violation error when loading a DLL Pin
bikram singh13-May-04 5:28
bikram singh13-May-04 5:28 
GeneralRe: Sharing violation error when loading a DLL Pin
DaFrawg23-May-04 22:45
DaFrawg23-May-04 22:45 
GeneralCapture Video from tv Tunner card Pin
Anonymous13-May-04 1:03
Anonymous13-May-04 1:03 
GeneralRe: Capture Video from tv Tunner card Pin
marcosvpp13-May-04 5:00
marcosvpp13-May-04 5:00 
GeneralESP error calling DLL exported function... Pin
Chris Ulliott13-May-04 0:54
Chris Ulliott13-May-04 0:54 
GeneralRe: ESP error calling DLL exported function... Pin
Justin Cooke13-May-04 4:19
Justin Cooke13-May-04 4:19 
GeneralRe: ESP error calling DLL exported function... Pin
bikram singh13-May-04 5:13
bikram singh13-May-04 5:13 
GeneralDrawThemeText Pin
Steve Thresher13-May-04 0:53
Steve Thresher13-May-04 0:53 
GeneralNetwork I/O models Pin
Rickard Andersson2012-May-04 23:51
Rickard Andersson2012-May-04 23:51 
GeneralRe: Network I/O models Pin
Mike Dimmick13-May-04 3:27
Mike Dimmick13-May-04 3:27 
GeneralInstead a dialog I want to appear 3 buttons Pin
Filomela12-May-04 23:30
Filomela12-May-04 23:30 
GeneralRe: Instead a dialog I want to appear 3 buttons Pin
nguyenvhn13-May-04 1:50
nguyenvhn13-May-04 1:50 
GeneralRe: Instead a dialog I want to appear 3 buttons Pin
Filomela13-May-04 21:42
Filomela13-May-04 21:42 
GeneralRe: Instead a dialog I want to appear 3 buttons Pin
nguyenvhn13-May-04 22:41
nguyenvhn13-May-04 22:41 
GeneralTerminate a Named Program Pin
sweep12312-May-04 23:27
sweep12312-May-04 23:27 
GeneralRe: Terminate a Named Program Pin
Milton Karimbekallil12-May-04 23:56
Milton Karimbekallil12-May-04 23:56 
hi,

no there is no way other than terminate the app by using the process handle. but if we know the process name, then we can enum thru the process list to find the matching process to terminate. some two month back i have replyed the same query. i just copied that reply below:

call TerminateProcess to terminate a process. This needs the process handle as input. Call OpenProcess to get the process handle. This needs processId as input. Call Process32First and Process32Next to loop thru the running process and to get the ProcessId. Call CreateToolhelp32Snapshot before calling Process32First.

sample code is available on msdn.

rgds..mil10
GeneralRe: Terminate a Named Program Pin
sweep12313-May-04 2:51
sweep12313-May-04 2:51 

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.