Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Terminate a Named Program Pin
jmkhael13-May-04 4:55
jmkhael13-May-04 4:55 
GeneralRe: Terminate a Named Program Pin
sweep12313-May-04 5:57
sweep12313-May-04 5:57 
GeneralKeeping variables in memory Pin
V.12-May-04 23:14
professionalV.12-May-04 23:14 
GeneralRe: Keeping variables in memory Pin
jmkhael13-May-04 2:22
jmkhael13-May-04 2:22 
GeneralRe: Keeping variables in memory Pin
Joe Woodbury13-May-04 9:15
professionalJoe Woodbury13-May-04 9:15 
Generalmessy function that calculates values Pin
bhangie12-May-04 22:40
bhangie12-May-04 22:40 
GeneralRe: messy function that calculates values Pin
toxcct12-May-04 22:56
toxcct12-May-04 22:56 
GeneralRe: messy function that calculates values Pin
WoutL12-May-04 23:11
WoutL12-May-04 23:11 
GeneralRe: messy function that calculates values Pin
Maximilien13-May-04 2:08
Maximilien13-May-04 2:08 
GeneralRe: messy function that calculates values Pin
David Crow13-May-04 5:30
David Crow13-May-04 5:30 
GeneralRe: messy function that calculates values Pin
vividtang14-May-04 2:27
vividtang14-May-04 2:27 
GeneralAlpha-channel in the bitmap Pin
Eugene Pustovoyt12-May-04 22:23
Eugene Pustovoyt12-May-04 22:23 
GeneralRe: Alpha-channel in the bitmap Pin
Christopher Lloyd13-May-04 2:17
Christopher Lloyd13-May-04 2:17 
GeneralRe: Alpha-channel in the bitmap Pin
Eugene Pustovoyt13-May-04 2:56
Eugene Pustovoyt13-May-04 2:56 
GeneralRe: Alpha-channel in the bitmap Pin
Christopher Lloyd13-May-04 3:13
Christopher Lloyd13-May-04 3:13 
General//Need help in Directshow programming Pin
12-May-04 22:14
suss12-May-04 22:14 

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.