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

C / C++ / MFC

 
GeneralRe: error C1010 Pin
ohadp29-Mar-04 4:48
ohadp29-Mar-04 4:48 
GeneralRe: error C1010 Pin
dadacncn29-Mar-04 4:51
dadacncn29-Mar-04 4:51 
GeneralWaitForSingleObject - Handle for ShellExecute() Pin
ndalal29-Mar-04 4:38
ndalal29-Mar-04 4:38 
GeneralRe: WaitForSingleObject - Handle for ShellExecute() Pin
basementman29-Mar-04 4:44
basementman29-Mar-04 4:44 
GeneralRe: WaitForSingleObject - Handle for ShellExecute() Pin
ndalal29-Mar-04 4:50
ndalal29-Mar-04 4:50 
GeneralRe: WaitForSingleObject - Handle for ShellExecute() Pin
David Crow29-Mar-04 5:07
David Crow29-Mar-04 5:07 
GeneralRe: WaitForSingleObject - Handle for ShellExecute() Pin
ndalal29-Mar-04 6:09
ndalal29-Mar-04 6:09 
GeneralRe: WaitForSingleObject - Handle for ShellExecute() Pin
David Crow29-Mar-04 6:20
David Crow29-Mar-04 6:20 
ndalal wrote:
I'm not sure if it can execute a batch file.

Yes, it can be used with .bat files.

I do not think NULL is a valid option for the ninth parameter.

The do/while loop seems unnecessary as WaitForSingleObject() will do its own waiting without using any processor time. As you have it written, WaitForSingleObject() will wait indefinitely for the object's state to become signaled, but will then loop infinitely as the state will remain signaled.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)


GeneralRe: WaitForSingleObject - Handle for ShellExecute() Pin
Michael Dunn29-Mar-04 8:45
sitebuilderMichael Dunn29-Mar-04 8:45 
GeneralPrinting in a dialog based application Pin
Member 426420329-Mar-04 4:12
Member 426420329-Mar-04 4:12 
GeneralRe: Printing in a dialog based application Pin
Antti Keskinen29-Mar-04 4:38
Antti Keskinen29-Mar-04 4:38 
GeneralRe: Printing in a dialog based application Pin
Roger Allen30-Mar-04 0:53
Roger Allen30-Mar-04 0:53 
Questionstatic array of base class pointers?? Pin
LudaLuda29-Mar-04 4:00
LudaLuda29-Mar-04 4:00 
AnswerRe: static array of base class pointers?? Pin
ohadp29-Mar-04 4:37
ohadp29-Mar-04 4:37 
GeneralRe: static array of base class pointers?? Pin
LudaLuda29-Mar-04 4:53
LudaLuda29-Mar-04 4:53 
GeneralRe: static array of base class pointers?? Pin
ohadp29-Mar-04 4:57
ohadp29-Mar-04 4:57 
GeneralAdd protocol programatically Pin
Reza Shademani29-Mar-04 3:42
Reza Shademani29-Mar-04 3:42 
GeneralPNP_INFO again Pin
Member 67007929-Mar-04 3:33
Member 67007929-Mar-04 3:33 
Generalexpert advice needed (query results) Pin
BlackDice29-Mar-04 3:22
BlackDice29-Mar-04 3:22 
GeneralRe: expert advice needed (query results) Pin
David Crow29-Mar-04 4:29
David Crow29-Mar-04 4:29 
GeneralRe: expert advice needed (query results) Pin
BlackDice29-Mar-04 5:04
BlackDice29-Mar-04 5:04 
GeneralRe: expert advice needed (query results) Pin
ohadp29-Mar-04 4:30
ohadp29-Mar-04 4:30 
GeneralRe: expert advice needed (query results) Pin
basementman29-Mar-04 4:40
basementman29-Mar-04 4:40 
GeneralRe: expert advice needed (query results) Pin
BlackDice29-Mar-04 5:06
BlackDice29-Mar-04 5:06 
General[eVC] Internationalization and Multiple Language Support Pin
GuilhemMtp29-Mar-04 2:51
GuilhemMtp29-Mar-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.