Changeset 951 for trunk/src/msacm32


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/msacm32/initterm.cpp

    r779 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-01 18:50:32 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 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" {
     
    7778         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    7879
     80         if(RegisterLxDll(hModule, MSACM32_LibMain, 0) == FALSE)
     81                return 0UL;
     82
    7983         /*******************************************************************/
    8084         /* A DosExitList routine must be used to clean up if runtime calls */
     
    8690                return 0UL;
    8791
    88          MSACM32_LibMain(hModule, DLL_PROCESS_ATTACH, 0);
    89 
    9092         break;
    9193      case 1 :
    92          MSACM32_LibMain(hModule, DLL_PROCESS_DETACH, 0);
     94         UnregisterLxDll(hModule);
    9395         break;
    9496
Note: See TracChangeset for help on using the changeset viewer.