No announcement yet.

How can the caller know the result ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • How can the caller know the result ?

    My program use CreateProcess() to call the BC to compare files specified in script.

    Now, My program want to know the result of whether two compare file is exactly same or different. How can I?

    Shall I use GetExitCodeProcess() to get it?

    Thank you!

  • #2
    Re: How can the caller know the result ?

    Scripts don't return an exit code to indicate the comparison result.

    If you need to see an exit code, we have a command line utility that will compare two files, then set a DOS error level indicating the result. The utility is called BCQC. It is included with the version 2.4.1 installer.

    For details on use, run BCQC.exe with no arguments.
    Chris K Scooter Software