Ignore:
Timestamp:
Sep 16, 1999, 1:26:11 AM (26 years ago)
Author:
sandervl
Message:

Initterm creates LX image object during initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/initterm.cpp

    r864 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-07 20:41:45 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3333#include <odin.h>
    3434#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    35 #include <winconst.h>
     35#include <win32type.h>
     36#include <odinlx.h>
    3637
    3738extern "C" {
     
    4041}
    4142
    42 BOOL WINAPI CRTDLL_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
     43BOOL WIN32API CRTDLL_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
    4344
    4445/*-------------------------------------------------------------------*/
     
    8687                return 0UL;
    8788
    88          CRTDLL_Init(hModule, DLL_PROCESS_ATTACH, 0);
     89         if(RegisterLxDll(hModule, CRTDLL_Init, 0) == FALSE)
     90                return 0UL;
    8991
    9092         break;
    9193      case 1 :
    92          CRTDLL_Init(hModule, DLL_PROCESS_DETACH, 0);
     94         UnregisterLxDll(hModule);
    9395         break;
    9496
Note: See TracChangeset for help on using the changeset viewer.