PDA

View Full Version : How can the caller know the result ?


yzkzero
16-May-2006, 04:47 AM
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
16-May-2006, 02:31 PM
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.