Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Commented Unassigned: FoxBin2Prg PRG2BIN does not return error codes [43100]

$
0
0
Hello,

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 **

Hello Fernando,

I did some tests last week with the preview version and this morning with the official 1.19.43.
Here are my results:

I have a laptop where returning the error status works as expected for both the preview and official version.
On my desktop pc (and several others) I do not get the status 0 for test 3 (which is wrong) and status 1 for test 4 with the -SIMERR_I1 parameter.

I haven't found any problems in the code or significant differences in the installation of the laptop vs the pc, but found the following:

When I use the project from the download to compile my own version of foxbin2prg.exe this works fine on the laptop, but fails on the pc.

But when I set up a new project on the pc and include the sources (foxbin2prg.prg and the necessary txt files), I get an executable that runs on the laptop and on the pc.

To sum up my results:
* pre-packaged exe from download: works on laptop, fails on pc
* self-compiled exe with project from download: works on laptop, fails on pc
* self-compiled exe with new projects: works on both machines

I'll keep looking into this, but currently I have no idea concerning the reason for this problem.

Regards Ralf


Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>