Changeset 1498 for trunk/dll/shadow.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/shadow.c

    r1480 r1498  
    77
    88  Copyright (c) 1993-97 M. Kimes
    9   Copyright (c) 2006, 2008 Steven H. Levine
     9  Copyright (c) 2006, 2010 Steven H. Levine
    1010
    1111  22 Jul 06 SHL Check more run time errors
     
    1515  08 Mar 09 GKY Additional strings move to PCSZs declare change
    1616  12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory
     17  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    1718
    1819***********************************************************************/
     
    6364  if (!cnr)
    6465    return obj;
    65   obj = WinCreateObject(WPProgram,
     66  obj = WinCreateObject((CHAR *) WPProgram,
    6667                        objtitle,
    6768                        "NODELETE=NO;TEMPLATE=NO;NOCOPY=NO;NOMOVE=NO",
     
    307308  if (hwnd)
    308309    WinSetFocus(HWND_DESKTOP, HWND_DESKTOP);
    309   ret = WinCreateObject(WPProgram,
     310  ret = WinCreateObject((CHAR *) WPProgram,
    310311                        exename,
    311312                        settings, "<WP_NOWHERE>", CO_REPLACEIFEXISTS);
Note: See TracChangeset for help on using the changeset viewer.