Visual compare current file with external diff program fails

Product Compare Forums Multi-Edit Support Visual compare current file with external diff program fails

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #979
    Ernie Zapata
    Participant

    Using MEW 9.10, I have set Beyond Compare (Version 2.0.3, Build 183) as my external diff program.

    I have configured my Version Control System to use CVS, but the problem would probably appear with any version control system.

    Selecting VCS -> Visual Compare Current File, results in a call to CvsView() in the Cvs.s. This macro checks out a copy of the current file and writes it to a temporary file. The macro routine Fc() is then called, which launches the diff program asynchronously on the current file and the temporary file, but, upon returning to CvsView(), the temporary file is deleted while the external diff program is comparing the files.

    With Beyond Compare, this results in a ‘blank’ window, as the temporary file was deleted.

    Changing the statement:

    [code:1xw6q06f]ExecProg( Program, "", "", "", _ep_flags_DontWait );[/code:1xw6q06f]

    to

    [code:1xw6q06f]ExecProg( Program, "", "", "", 0);[/code:1xw6q06f]

    in FcExecDiff() seems to solve the problem for me. Or is there another solution?

    #4430
    Ernie Zapata
    Participant

    I downloaded and installed MEW 9.10.03 and have to report that this problem still exists.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.