Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWinword.exe and WaitForSingleObject Pin
vikramlinux14-Feb-06 0:12
vikramlinux14-Feb-06 0:12 
AnswerRe: Winword.exe and WaitForSingleObject Pin
_anil_14-Feb-06 0:52
_anil_14-Feb-06 0:52 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux14-Feb-06 1:16
vikramlinux14-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
_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
David 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
vikramlinux15-Feb-06 18:12 
GeneralRe: Winword.exe and WaitForSingleObject Pin
David Crow16-Feb-06 2:48
David Crow16-Feb-06 2:48 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux16-Feb-06 3:18
vikramlinux16-Feb-06 3:18 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux16-Feb-06 3:20
vikramlinux16-Feb-06 3:20 
QuestionNeed Help - Pointers Pin
pjama13-Feb-06 23:43
pjama13-Feb-06 23:43 
AnswerRe: Need Help - Pointers Pin
BadKarma13-Feb-06 23:52
BadKarma13-Feb-06 23:52 
AnswerRe: Need Help - Pointers Pin
Naveen14-Feb-06 0:10
Naveen14-Feb-06 0:10 
GeneralRe: Need Help - Pointers Pin
toxcct14-Feb-06 0:15
toxcct14-Feb-06 0:15 
GeneralRe: Need Help - Pointers Pin
pjama14-Feb-06 0:16
pjama14-Feb-06 0:16 
GeneralRe: Need Help - Pointers Pin
toxcct14-Feb-06 0:36
toxcct14-Feb-06 0:36 
GeneralRe: Need Help - Pointers Pin
pjama14-Feb-06 1:18
pjama14-Feb-06 1:18 
AnswerRe: Need Help - Pointers Pin
James R. Twine14-Feb-06 4:45
James R. Twine14-Feb-06 4:45 
Questiondrwtsn32 - not working? Pin
rrrado13-Feb-06 23:11
rrrado13-Feb-06 23:11 
JokeRe: drwtsn32 - not working? Pin
rrrado14-Feb-06 1:17
rrrado14-Feb-06 1:17 
QuestionNeed Help--How to implement a Find Target application? Pin
sandakith13-Feb-06 22:40
sandakith13-Feb-06 22:40 
AnswerRe: Need Help--How to implement a Find Target application? Pin
Naveen13-Feb-06 22:44
Naveen13-Feb-06 22:44 
AnswerRe: Need Help--How to implement a Find Target application? Pin
Malli_S13-Feb-06 22:53
Malli_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.