Ignore:
Timestamp:
Feb 14, 2001, 12:41:04 PM (25 years ago)
Author:
sandervl
Message:

initterm call fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Odin32API/odindll.cpp

    r3993 r5130  
    1 /* $Id: odindll.cpp,v 1.2 2000-08-11 10:56:12 sandervl Exp $ */
     1/* $Id: odindll.cpp,v 1.3 2001-02-14 11:40:58 sandervl Exp $ */
    22
    33/*
     
    3535#include <odinlx.h>
    3636#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
     37#include <initdll.h>
    3738
    3839extern "C" {
    39 void CDECL _ctordtorInit( void );
    40 void CDECL _ctordtorTerm( void );
    4140
    4241//Win32 resource table (produced by wrc)
     
    7877   switch (ulFlag) {
    7978      case 0 :
    80          _ctordtorInit();
     79         __ctordtorInit();
    8180
    8281         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
     
    9190                return 0UL;
    9291
    93          rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
     92         rc = DosExitList(EXITLIST_APPDLL|EXLST_ADD, cleanup);
    9493         if(rc)
    9594                return 0UL;
     
    114113static void APIENTRY cleanup(ULONG ulReason)
    115114{
    116    _ctordtorTerm();
     115   __ctordtorTerm();
    117116   DosExitList(EXLST_EXIT, cleanup);
    118117   return ;
Note: See TracChangeset for help on using the changeset viewer.