Changeset 104 for trunk/JPGPROC/source


Ignore:
Timestamp:
Oct 2, 2023, 11:34:35 PM (23 months ago)
Author:
gyoung
Message:

Remaining changes from merge with Lars 2.9 branch

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/JPGPROC/source/gbmsrc/gbm.def

    r2 r104  
    11LIBRARY GBM INITINSTANCE TERMINSTANCE
    22
    3 DATA MULTIPLE NONSHARED READWRITE
    4 
    5 CODE PRELOAD EXECUTEREAD
     3DATA MULTIPLE NONSHARED
    64
    75EXPORTS
  • trunk/JPGPROC/source/gbmsrc/os2/gbm.def

    r2 r104  
    11LIBRARY GBM INITINSTANCE TERMINSTANCE
    22
    3 DATA MULTIPLE NONSHARED READWRITE
    4 
    5 CODE PRELOAD EXECUTEREAD
     3DATA MULTIPLE NONSHARED
    64
    75EXPORTS
  • trunk/JPGPROC/source/jpegio.def

    r2 r104  
    11;/*
    2 ; * Copyright (c) Chris Wohlgemuth 2002 
     2; * Copyright (c) Chris Wohlgemuth 2002
    33; * All rights reserved.
    44; *
     
    3131; */
    3232LIBRARY JPEGIO INITINSTANCE TERMINSTANCE
    33 DESCRIPTION '$@#(C) C. Wohlgemuth 2002:#@##1## 13.07.2002 15:17:00      My ;-)  : :::0::@@ JPEG IO procedure V0.1.0' 
     33DESCRIPTION '$@#(C) C. Wohlgemuth 2002:#@##1## 13.07.2002 15:17:00      My ;-)  : :::0::@@ JPEG IO procedure V0.1.0'
    3434DATA MULTIPLE NONSHARED
    3535SEGMENTS
    3636   shardata CLASS 'DATA' SHARED
    37 HEAPSIZE 0
    38 BASE = 0x1B130000
    39 IMPORTS
    4037EXPORTS
    41    IOProc_Entry    @1
     38   IOProc_Entry
    4239
  • trunk/JPGPROC/source/jpgfunc.c

    r2 r104  
    11/*
    2  * Copyright (c) Chris Wohlgemuth 2002 
     2 * Copyright (c) Chris Wohlgemuth 2002
    33 * All rights reserved.
    44 *
     
    3535/************************************************************************/
    3636
    37 #define INCL_32                          * force 32 bit compile
     37#define INCL_32                         /* force 32 bit compile */
    3838#define INCL_GPIBITMAPS
    3939#define INCL_DOSFILEMGR
     
    4242#define INCL_WIN
    4343#define INCL_GPI
    44 #define INCL_PM                         /* force 32 bit compile */
     44#define INCL_PM
    4545
    4646/************************************************************************/
     
    6262 * Caller assures that no two instances execute this code
    6363 * at the same time.
    64  * 00) Change name to _DLL_InitTerm and use the linkage pragma.
    6564 *************************************************************************************/
    6665/*************************************************************************************
     
    7170HMODULE hModuleHandle;
    7271
    73 #pragma linkage (_DLL_InitTerm, system)
    74 //#pragma checkout (suspend)       /* Prevent unreferenced parameter messages */
    75 ULONG _DLL_InitTerm (ULONG hModHandle, ULONG fTerm/*, BOOL FirstInstance*/)
     72
     73ULONG APIENTRY _DLL_InitTerm(ULONG modhandle,ULONG flag);
     74int _CRT_init(void);
     75void _CRT_term(void);
     76
     77ULONG APIENTRY _DLL_InitTerm (ULONG hModHandle, ULONG fTerm)
    7678{
    7779   hModuleHandle = hModHandle;  /* Remember for NLS lookup */
     
    8082         return (0L);
    8183   } /* endif */
     84   else {
     85      _CRT_term();
     86   }
    8287
    8388   return (1L);                 /* Success */
    8489} /* DLL_InitTerm */
    85 //#pragma checkout (resume)
    8690
    8791
Note: See TracChangeset for help on using the changeset viewer.