Click here to Skip to main content
15,394,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWinword.exe and WaitForSingleObject Pin
vikramlinux14-Feb-06 0:12
Membervikramlinux14-Feb-06 0:12 
AnswerRe: Winword.exe and WaitForSingleObject Pin
_anil_14-Feb-06 0:52
Member_anil_14-Feb-06 0:52 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux14-Feb-06 1:16
Membervikramlinux14-Feb-06 1:16 
AnswerRe: Winword.exe and WaitForSingleObject Pin
kakan14-Feb-06 0:57
professionalkakan14-Feb-06 0:57 
GeneralRe: Winword.exe and WaitForSingleObject Pin
_anil_14-Feb-06 1:41
Member_anil_14-Feb-06 1:41 
GeneralRe: Winword.exe and WaitForSingleObject Pin
kakan14-Feb-06 2:03
professionalkakan14-Feb-06 2:03 
AnswerRe: Winword.exe and WaitForSingleObject Pin
kakan14-Feb-06 2:36
professionalkakan14-Feb-06 2:36 
QuestionRe: Winword.exe and WaitForSingleObject Pin
David Crow14-Feb-06 4:34
MemberDavid Crow14-Feb-06 4:34 
vikrams wrote:
bool bRet=CreateProcess("C:\\apps\\Microsoft Office\\OFFICE11\\WINWORD.EXE",
...
if(NULL != bRet)


Why are you checking for NULL when CreateProcess() returns a BOOL value? Change bool to BOOL and compare against TRUE/FALSE.

vikrams wrote:
...it just quits


What quits?


"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli


AnswerRe: Winword.exe and WaitForSingleObject Pin
vikramlinux15-Feb-06 18:12
Membervikramlinux15-Feb-06 18:12 
GeneralRe: Winword.exe and WaitForSingleObject Pin
David Crow16-Feb-06 2:48
MemberDavid Crow16-Feb-06 2:48 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux16-Feb-06 3:18
Membervikramlinux16-Feb-06 3:18 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux16-Feb-06 3:20
Membervikramlinux16-Feb-06 3:20 
QuestionNeed Help - Pointers Pin
pjama13-Feb-06 23:43
Memberpjama13-Feb-06 23:43 
AnswerRe: Need Help - Pointers Pin
BadKarma13-Feb-06 23:52
MemberBadKarma13-Feb-06 23:52 
AnswerRe: Need Help - Pointers Pin
Naveen14-Feb-06 0:10
MemberNaveen14-Feb-06 0:10 
GeneralRe: Need Help - Pointers Pin
toxcct14-Feb-06 0:15
Membertoxcct14-Feb-06 0:15 
GeneralRe: Need Help - Pointers Pin
pjama14-Feb-06 0:16
Memberpjama14-Feb-06 0:16 
GeneralRe: Need Help - Pointers Pin
toxcct14-Feb-06 0:36
Membertoxcct14-Feb-06 0:36 
GeneralRe: Need Help - Pointers Pin
pjama14-Feb-06 1:18
Memberpjama14-Feb-06 1:18 
AnswerRe: Need Help - Pointers Pin
James R. Twine14-Feb-06 4:45
MemberJames R. Twine14-Feb-06 4:45 
Questiondrwtsn32 - not working? Pin
rrrado13-Feb-06 23:11
Memberrrrado13-Feb-06 23:11 
JokeRe: drwtsn32 - not working? Pin
rrrado14-Feb-06 1:17
Memberrrrado14-Feb-06 1:17 
QuestionNeed Help--How to implement a Find Target application? Pin
sandakith13-Feb-06 22:40
Membersandakith13-Feb-06 22:40 
AnswerRe: Need Help--How to implement a Find Target application? Pin
Naveen13-Feb-06 22:44
MemberNaveen13-Feb-06 22:44 
AnswerRe: Need Help--How to implement a Find Target application? Pin
Malli_S13-Feb-06 22:53
MemberMalli_S13-Feb-06 22:53 

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.