I'm using the latest version FoxBin2Prg v1.19.42.
When using the convertion from text to binary file (prg2bin) with an external command, errors are not returned properly to the calling command.
You can reproduce the error by downloading the attached file "_errorreport.zip", unpacking it and running the batch script runfoxbin2prg.cmd.
The third test (subdirectory test3) tries to compile the text version of a simple form and fails.
Comments: ** Comment from web user: ralfxwagner **
Hi Fernando,
thanks for the great explanation, it did help me to understand the tool much better.
Just one more information / feedback / use case:
Both 1.19.41 and 1.19.43 report duplicate controls when decompiling a FoxPro file (BIN2PRG).
1.19.41 generates the corresponding text file, while 1.19.43 only reports the errors.
I can see the reasoning behind this - better let the tool fail early and force the user to fix the problem than to allow the user to decompile a source without being able to compile it again.
But in the case of duplicate controls, I usually find it easier to fix this problem in the text file than using the IDE. I'm working on a project, where due to conversion from earlier FoxPro versions duplicate controls occur frequently (usually lines and shapes), and looking with an editor through the text version and fixing the problems there was much faster than using the IDE.
This is not a major problem, as it only occurs from time to time. We're going to use 1.19.43 and I'll keep a copy of 1.19.41 at hand.)
Regards
Ralf