How can the caller know the result ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yzkzero
    New User
    • May 2006
    • 2

    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!
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #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

    Comment

    Working...