Changeset 1498 for trunk/dll/seeall.c


Ignore:
Timestamp:
Jan 18, 2010, 1:57:01 AM (16 years ago)
Author:
Gregg Young
Message:

Changes to get FM2 to compile with the latest watcom 1.9 beta (mostly type casts of CHAR CONSTANT * to CHAR *). Changes to get the environment settings working everywhere again (broken by the change that moved commands to the INI); Added an environment size variable (set to 2048 which was the largest I found hard coded). Still need to find everywhere the environment size is set and use this variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/seeall.c

    r1438 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2001, 2009 Steven H. Levine
     9  Copyright (c) 2001, 2010 Steven H. Levine
    1010
    1111  16 Oct 02 SHL Handle large partitions
     
    4949  08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used)
    5050  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
     51  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    5152
    5253***********************************************************************/
     
    785786
    786787                WinSetWindowText(WinWindowFromID(hwndFrame, SEEALL_STATUS),
    787                                  GetPString(IDS_FITTINGTEXT));
     788                                 (CHAR *) GetPString(IDS_FITTINGTEXT));
    788789                DosError(FERR_DISABLEHARDERR);
    789790                if (!DosQueryFSInfo(toupper(*newname) - '@',
     
    811812                    WinSetWindowText(WinWindowFromID(hwndFrame,
    812813                                                     SEEALL_STATUS),
    813                                      GetPString(IDS_COULDNTFITTEXT));
     814                                     (CHAR *) GetPString(IDS_COULDNTFITTEXT));
    814815                  }
    815816                }
     
    12071208        DosError(FERR_DISABLEHARDERR);
    12081209        WinRegisterClass(hab2,
    1209                          WC_OBJECTWINDOW,
     1210                         (CHAR *) WC_OBJECTWINDOW,
    12101211                         SeeObjWndProc, 0, sizeof(PVOID));
    12111212        hwndObj = WinCreateWindow(HWND_OBJECT,
    1212                                   WC_OBJECTWINDOW,
     1213                                  (CHAR *) WC_OBJECTWINDOW,
    12131214                                  (PSZ) NULL,
    12141215                                  0,
     
    26352636        if (!DosCreateMutexSem(NULL, &pAD->hmtxScan, 0, FALSE)) {
    26362637          pAD->hwndStatus = WinCreateWindow(hwndFrame,
    2637                                             WC_SEESTATUS,
     2638                                            (CHAR *) WC_SEESTATUS,
    26382639                                            NullStr,
    26392640                                            WS_VISIBLE | SS_TEXT |
     
    31353136        Runtime_Error(pszSrcFile, __LINE__, NULL);
    31363137      else {
    3137         WinSetWindowText(pAD->hwndStatus, GetPString(IDS_DRAGGINGFILESTEXT));
     3138        WinSetWindowText(pAD->hwndStatus, (CHAR *) GetPString(IDS_DRAGGINGFILESTEXT));
    31383139        DragList(hwnd, (HWND) 0, list, TRUE);
    31393140        FreeList(list);
     
    43974398                                 WS_VISIBLE,
    43984399                                 &FrameFlags,
    4399                                  WC_SEEALL,
    4400                                  GetPString(IDS_SEEALLTITLETEXT),
     4400                                 (CHAR *) WC_SEEALL,
     4401                                 (CHAR *) GetPString(IDS_SEEALLTITLETEXT),
    44014402                                 WS_VISIBLE | fwsAnimate,
    44024403                                 FM3ModHandle, SEEALL_FRAME, &hwndClient);
Note: See TracChangeset for help on using the changeset viewer.