How to capture console output from TDUMP.EXE?
===

TDUMP.exe is file dumping utility from Delphi RAD Studio.  If I run

    tdump.exe myapp.exe

It will return some information about the myapp.exe.

I want to capture the console output of tdump.exe to my VCL gui application.  I have tried the `RunDosInMemo` in http://delphi.about.com/cs/adptips2001/a/bltip0201_2.htm.  The output result isn't same as command line console output.  It always return:

    ERROR: Can not open output file myapp.exe.

And myapp.exe file will be overwritten.

Running other console command with `RunDosInMemo` works as expected but not Delphi tdump.exe.

Any ideas why redirect console output doesn't work with tdump?

