Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CPropertyPage Wizard Style.. Should be easy.. Pin
RobJones14-Mar-05 12:14
RobJones14-Mar-05 12:14 
GeneralText color of VS2003 output window Pin
Ravi Bhavnani14-Mar-05 10:46
professionalRavi Bhavnani14-Mar-05 10:46 
Generalvisual c++ .net 2003 Pin
jogodo14-Mar-05 10:00
jogodo14-Mar-05 10:00 
GeneralRe: visual c++ .net 2003 Pin
Christian Graus14-Mar-05 16:29
protectorChristian Graus14-Mar-05 16:29 
GeneralGetting total network traffic Pin
vapz14-Mar-05 9:57
vapz14-Mar-05 9:57 
GeneralBold text in menu Pin
qwert8510314-Mar-05 9:08
qwert8510314-Mar-05 9:08 
GeneralRe: Bold text in menu Pin
Graham Bradshaw14-Mar-05 12:30
Graham Bradshaw14-Mar-05 12:30 
GeneralCreateProcess Questions Pin
kyensen14-Mar-05 8:35
kyensen14-Mar-05 8:35 
Hi,

I am trying to create 2 QuickTime process to open 2 seperate video streaming files. Both video streams open and run fine. When I open the second process, I notice that TaskManager lists the second QuickTime process with a different PID for about 2 seconds, and then it disappears and only one QuickTime process is listed. The problem I am encountering is when I try to close a single QuickTime process. I use the TerminateProcess() function and when I try using the function on the second process, it does nothing. However if I run the TerminateProcess() on the first process, it closes both of the windows. I have checked to make sure the pi.hProcess is different. I looked through the MSDN site and tried to change flags around, but nothing worked. The code I use to create and close functions is listed below. Can anyone help??

if (evalKitDlg == camera1)
{
if( !CreateProcess( NULL,
TEXT("C://Program Files//QuickTime//QuickTimePlayer.exe camera1.sdp"),
NULL,
NULL,
FALSE,
DETACHED_PROCESS,
0,
NULL,
NULL,
&si,
&pi ));
}
TerminateProcess(evalKitDlg->pi.hProcess, (DWORD)-1);
GeneralRe: CreateProcess Questions Pin
Peter Weyzen14-Mar-05 8:54
Peter Weyzen14-Mar-05 8:54 
GeneralMessages of parent windows Pin
r3dqu33n14-Mar-05 8:00
r3dqu33n14-Mar-05 8:00 
GeneralRe: Messages of parent windows Pin
namaskaaram14-Mar-05 19:42
namaskaaram14-Mar-05 19:42 
GeneralRe: Messages of parent windows Pin
r3dqu33n15-Mar-05 1:02
r3dqu33n15-Mar-05 1:02 
GeneralRe: Messages of parent windows Pin
namaskaaram15-Mar-05 2:48
namaskaaram15-Mar-05 2:48 
Generalsetup project Pin
trupgmtuf14-Mar-05 7:20
susstrupgmtuf14-Mar-05 7:20 
GeneralCrash in InternetErrorDlg()! Help! Pin
Nickmatic14-Mar-05 7:00
Nickmatic14-Mar-05 7:00 
Generalquadratic equations Pin
gyrvwrzp14-Mar-05 6:59
gyrvwrzp14-Mar-05 6:59 
GeneralRe: quadratic equations Pin
David Crow14-Mar-05 8:21
David Crow14-Mar-05 8:21 
GeneralShoping Cart Pin
shahidalikhan14-Mar-05 6:55
shahidalikhan14-Mar-05 6:55 
GeneralRe: Shoping Cart Pin
RobJones14-Mar-05 11:33
RobJones14-Mar-05 11:33 
GeneralImaging Pin
Lampros Giampouras14-Mar-05 5:57
Lampros Giampouras14-Mar-05 5:57 
GeneralRe: Imaging Pin
ThatsAlok14-Mar-05 22:12
ThatsAlok14-Mar-05 22:12 
GeneralCDialogBar Pin
Anand for every one14-Mar-05 5:40
Anand for every one14-Mar-05 5:40 
GeneralTree View in MDI Pin
laiju14-Mar-05 5:19
laiju14-Mar-05 5:19 
QuestionAnyone know what happened to Andy Brown's CDynamicDialog classes? Pin
ame1214-Mar-05 5:10
ame1214-Mar-05 5:10 
AnswerRe: Anyone know what happened to Andy Brown's CDynamicDialog classes? Pin
Ravi Bhavnani14-Mar-05 11:01
professionalRavi Bhavnani14-Mar-05 11:01 

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.