Compile Error=2 After Update

Home Forums Multi-Edit FAQ Compile Error=2 After Update

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #765
    ReidSweatman
    Participant

    Question
    I’ve just updated to Multi-Edit 9.0, so why am I getting an error=2 whenever I try to run a compile that works fine in an older version of Multi-Edit?

    Answer
    If you are running under a Windows 9.x OS then the problem is most likely that the temp directory Multi-Edit 9.0 is using is too long for the DosExec.exe program to handle. By default Multi-Edit 9.0 sets the temp directory to <ME_PATH>\Tmp which gets translated to c:\Program Files\Multi-Edit 9\Config\Tmp\. The DosExec program is a DOS program that is used to launch a compiler from Multi-Edit so that Multi-Edit can capture the output of the compiler. Since it is a DOS program it is limited to the length of the command line DOS can handle.

    To work around this problem change the temp directory to something like c:\Tmp.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.