Changeset 697


Ignore:
Timestamp:
Jun 17, 2007, 3:59:25 AM (13 years ago)
Author:
Steven Levine
Message:

More OpenWatcom? compatibility updates

Location:
trunk/dll
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/avv.c

    r689 r697  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2004, 2006 Steven H.Levine
     9  Copyright (c) 2004, 2007 Steven H.Levine
    1010
    1111  31 Jul 04 SHL ArcReviewDlgProc: correct nameis... decodes
     
    2121  30 Jul 06 SHL Avoid warnings when editing new definition
    2222  22 Mar 07 GKY Use QWL_USER
     23  16 Jun 07 SHL Update for OpenWatcom
    2324
    2425***********************************************************************/
     
    355356    *error = 1;
    356357  else {
    357     ret = (INT) DosQAppType(p, &apptype);
     358    ret = (INT) DosQueryAppType(p, &apptype);
    358359    if (ret)
    359360      *error = -1;
  • trunk/dll/cmdline.c

    r689 r697  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2004, 2006 Steven H.Levine
     9  Copyright (c) 2004, 2007 Steven H.Levine
    1010
    1111  01 Aug 04 SHL Rework lstrip/rstrip usage
     
    1414  29 Jul 06 SHL Use xfgets_bstripcr
    1515  22 Mar 07 GKY Use QWL_USER
     16  16 Jun 07 SHL Update for OpenWatcom
    1617
    1718***********************************************************************/
     
    393394        }
    394395      }
    395       if (DosQAppType(executable, &apptype) ||
     396      if (DosQueryAppType(executable, &apptype) ||
    396397          (apptype && !(apptype &
    397398                        (FAPPTYP_NOTWINDOWCOMPAT |
  • trunk/dll/fm3dll.h

    r696 r697  
    106106#define BKS_MERLINSTYLE   0x0800
    107107#endif
    108 #if !defined(PMBITMAP_INCLUDED) && !defined(INCL_GPIINCLUDED)
     108
     109// PMBITMAP_INCLUDED - IBM Toolkit
     110// INCL_GPIBITMAPS - OpenWatcom Toolkit
     111#if !defined(PMBITMAP_INCLUDED) && !defined(INCL_GPIBITMAPS)
    109112typedef struct _RGB2            /* rgb2 */
    110113{
  • trunk/dll/shadow.c

    r551 r697  
    77
    88  Copyright (c) 1993-97 M. Kimes
    9   Copyright (c) 2006 Steven H. Levine
     9  Copyright (c) 2006, 2007 Steven H. Levine
    1010
    1111  22 Jul 06 SHL Check more run time errors
     12  16 Jun 07 SHL Update for OpenWatcom
    1213
    1314***********************************************************************/
     
    204205        CHAR *p, *pp, szDir[CCHMAXPATH + 1], szBuffer[CCHMAXPATH + 1];
    205206
    206         if (DosQAppType(list[x], &apt))
     207        if (DosQueryAppType(list[x], &apt))
    207208          apt = 0;
    208209        p = strrchr(list[x], '.');
  • trunk/dll/valid.c

    r689 r697  
    77
    88  Copyright (c) 1993, 1998 M. Kimes
    9   Copyright (c) 2002, 2006 Steven H.Levine
     9  Copyright (c) 2002, 2007 Steven H.Levine
    1010
    1111  23 Nov 02 SHL RootName: rework for sanity
     
    2222  07 Jan 07 GKY Move error strings etc. to string file
    2323  18 Feb 07 GKY Add more drive types and icons
     24  16 Jun 07 SHL Update for OpenWatcom
    2425
    2526***********************************************************************/
     
    515516    p = strrchr(filename, '.');
    516517    if (p)
    517       ret = DosQAppType(filename, &apptype);
     518      ret = DosQueryAppType(filename, &apptype);
    518519    else {
    519520
     
    522523      strcpy(fname, filename);
    523524      strcat(fname, ".");
    524       ret = DosQAppType(fname, &apptype);
     525      ret = DosQueryAppType(fname, &apptype);
    525526    }
    526527    if ((!ret && (!apptype ||
  • trunk/dll/worker.c

    r689 r697  
    1919  03 Nov 06 SHL Count thread usage
    2020  21 Apr 07 GKY Find FM2Utils by path or utils directory
     21  16 Jun 07 SHL Update for OpenWatcom
    2122
    2223***********************************************************************/
     
    2526#define INCL_WIN
    2627#define INCL_DOSERRORS
     28#define INCL_WPCLASS                    // WinQueryObjectPath
    2729#include <os2.h>
    2830
     
    4850#pragma alloc_text(ACTION,Action)
    4951#pragma alloc_text(UNDO,FreeUndo,Undo)
    50 
    51 BOOL APIENTRY WinQueryObjectPath(HOBJECT hobject,
    52                                  PSZ pszPathName, ULONG ulSize);
    5352
    5453#ifdef UNDO
Note: See TracChangeset for help on using the changeset viewer.