Changeset 1742 for trunk/dll


Ignore:
Timestamp:
Feb 23, 2014, 11:14:10 PM (12 years ago)
Author:
Gregg Young
Message:

Undated one of the error messages in runemf2 to provide the calling line and file. Ticket [521]

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/fm3res.rc

    r1719 r1742  
    6969  28 May 13 SHL Correct typos
    7070  15 Feb 14 GKY Improvements to saymsg2 added accel keys
     71  23 Feb 14 GKY Undated one of the error messages in runemf2 to provide the calling line
     72                and file.
    7173 
    7274***********************************************************************/
     
    33753377    IDS_INSUFFICIENTMEMORY                "Insufficient memory or %u items (%u)"
    33763378    IDS_DOSQAPPTYPEFAILEDTEXT             "DosQAppType failed for %s\n called from %s %d."
    3377     IDS_DOSQAPPTYPEFAILEDTEXT2            "The program %s was not found on the PATH or is not an executable file type."
     3379    IDS_DOSQAPPTYPEFAILEDTEXT2            "The program %s was not found on the PATH or is not an executable file type.\n runemf2 was called from %s %i"
    33783380    IDS_DOSQAPPTYPEFAILEDTEXT3            "The drive specified in %s is locked or invalid."
    33793381    IDS_LOCKEDFILEWARNING                 "The file %s is locked! Do you wish to unlock it and complete the requested operation"
  • trunk/dll/systemf.c

    r1720 r1742  
    4242                started from fm2 after fm2 has been started with stdout and stderr
    4343                redirected to a file.
     44  23 Feb 14 GKY Undated one of the error messages in runemf2 to provide the calling line
     45                and file.
    4446
    4547***********************************************************************/
     
    893895          if (rc == ERROR_FILE_NOT_FOUND || rc == ERROR_PATH_NOT_FOUND ||
    894896              rc == ERROR_INVALID_EXE_SIGNATURE || rc == ERROR_EXE_MARKED_INVALID)
    895             saymsg(MB_OK, HWND_DESKTOP, NullStr,
    896                    GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2), pszPgm);
     897            saymsg(MB_OK, HWND_DESKTOP, NullStr,GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2),
     898                   pszPgm, pszCallingFile,uiLineNumber);
    897899          else if (rc == ERROR_INVALID_DRIVE || rc == ERROR_DRIVE_LOCKED)
    898900            saymsg(MB_OK, HWND_DESKTOP, NullStr,
     
    10431045        if (rc == ERROR_FILE_NOT_FOUND || rc == ERROR_PATH_NOT_FOUND ||
    10441046            rc == ERROR_INVALID_EXE_SIGNATURE || rc == ERROR_EXE_MARKED_INVALID)
    1045           saymsg(MB_OK, HWND_DESKTOP, NullStr,
    1046                  GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2), pszPgm);
     1047          saymsg(MB_OK, HWND_DESKTOP, NullStr, GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2),
     1048                 pszPgm, pszCallingFile,uiLineNumber);
    10471049        else if (rc == ERROR_INVALID_DRIVE || rc == ERROR_DRIVE_LOCKED)
    10481050          saymsg(MB_OK, HWND_DESKTOP, NullStr,
Note: See TracChangeset for help on using the changeset viewer.