Subject Re: Capture the output of GBAK console process and display on your GUI applicati
Author Chau Chee Yang
> Did you ever try to capture the output of GBAK and display it in your
> GUI application? There is a delay: everytime ReadFile returns with
> data, not all of the output of GBAK is there. Only when the whole
> process is done, there is all the output. In rare cases, the whole
> thing seems to stop or hang.

Yes, I experienced what you described here.

> The question seems to be: do others also have this problem? Is there
> anything one can do to overcome it? Is there anything that can be done
> in the GBAK (GFIX/GSEC/etc) code to cure it? (Like flushing the
> output).

I guess the problem should be GBAK didn't flush the console output
prpoerly.