Ignore:
Timestamp:
Sep 30, 2023, 11:06:42 PM (23 months ago)
Author:
erdmann
Message:

Created branch v2.9_Lars.

Location:
branches/v2.9_Lars
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/v2.9_Lars/JPGPROC/source/jpgfunc.c

    r2 r74  
    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.