Click here to Skip to main content
15,906,173 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: acessing msconfig in win9x,,nt,2000,xp Pin
Member 213961924-Jul-05 7:22
Member 213961924-Jul-05 7:22 
Generalchanu1982@rediffmail.comacessing msconfig in win9x,,nt,2000,xp Pin
Member 213961923-Jul-05 21:25
Member 213961923-Jul-05 21:25 
Generalhiding folders and files Pin
Member 213961923-Jul-05 21:20
Member 213961923-Jul-05 21:20 
GeneralRe: hiding folders and files Pin
Alexander M.,24-Jul-05 3:18
Alexander M.,24-Jul-05 3:18 
GeneralRe: hiding folders and files Pin
Member 213961924-Jul-05 7:53
Member 213961924-Jul-05 7:53 
QuestionIs the application running? Pin
picasso223-Jul-05 19:27
picasso223-Jul-05 19:27 
AnswerRe: Is the application running? Pin
Alexander M.,24-Jul-05 3:20
Alexander M.,24-Jul-05 3:20 
AnswerRe: Is the application running? Pin
Blake V. Miller24-Jul-05 18:23
Blake V. Miller24-Jul-05 18:23 
Instead of

WaitForSingleObject(ShExecInfo.hProcess,INFINITE);

you can wait for a specific amount of time:

do{ <br />
  dwWaitResult = WaitForSingleObject(ShExecInfo.hProcess,INFINITE);<br />
  switch( dwWaitResult ){<br />
  case WAIT_TIMEOUT:<br />
    // still processing, update progress<br />
    break;<br />
  case WAIT_OBJECT_0:<br />
    // applicaiton is done<br />
    break;<br />
  case WAIT_FAILED:<br />
    // something else is wrong<br />
    break;<br />
  }<br />
}while( WAIT_TIMEOUT == dwWaitResult );


I truly CRINGE every time I see an INFINITE wait, anyhow.
Generalsystem font size Pin
khlins23-Jul-05 17:12
khlins23-Jul-05 17:12 
GeneralRe: system font size Pin
Gary R. Wheeler24-Jul-05 3:45
Gary R. Wheeler24-Jul-05 3:45 
QuestionNo Unicode in Status Bars? Pin
nm_11423-Jul-05 15:49
nm_11423-Jul-05 15:49 
AnswerRe: No Unicode in Status Bars? Pin
Alexander M.,24-Jul-05 3:22
Alexander M.,24-Jul-05 3:22 
GeneralRe: No Unicode in Status Bars? Pin
nm_11424-Jul-05 10:21
nm_11424-Jul-05 10:21 
GeneralVS 2005.NET MFC Pin
Pedromdrp23-Jul-05 15:19
Pedromdrp23-Jul-05 15:19 
GeneralFunction call overhead Pin
Anonymous23-Jul-05 13:21
Anonymous23-Jul-05 13:21 
GeneralRe: Function call overhead Pin
Christian Graus23-Jul-05 13:52
protectorChristian Graus23-Jul-05 13:52 
GeneralRe: Function call overhead Pin
Jose Lamas Rios23-Jul-05 15:03
Jose Lamas Rios23-Jul-05 15:03 
GeneralRe: Function call overhead Pin
Christian Graus23-Jul-05 15:05
protectorChristian Graus23-Jul-05 15:05 
GeneralRe: Function call overhead Pin
Gary R. Wheeler24-Jul-05 3:56
Gary R. Wheeler24-Jul-05 3:56 
GeneralPlease help ... Pin
yaniv_av23-Jul-05 11:13
yaniv_av23-Jul-05 11:13 
GeneralRe: Please help ... Pin
Alexander M.,24-Jul-05 3:26
Alexander M.,24-Jul-05 3:26 
GeneralWINCE: IID_IPIEHTMLDocument Pin
Member 120469923-Jul-05 7:44
Member 120469923-Jul-05 7:44 
GeneralDrawing Lines Pin
merkit23-Jul-05 7:21
merkit23-Jul-05 7:21 
GeneralRe: Drawing Lines Pin
X Balanque23-Jul-05 8:49
X Balanque23-Jul-05 8:49 
GeneralRe: Drawing Lines Pin
merkit23-Jul-05 9:47
merkit23-Jul-05 9:47 

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.