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

    r736 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-29 14:54:54 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" {
     
    8283         /*******************************************************************/
    8384
     85         if(RegisterLxDll(hModule, IMAGEHLP_LibMain, 0) == FALSE)
     86                return 0UL;
     87
    8488         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8589         if(rc)
    8690                return 0UL;
    8791
    88          IMAGEHLP_LibMain(hModule, DLL_PROCESS_ATTACH, 0);
    89 
    9092         break;
    9193      case 1 :
    92          IMAGEHLP_LibMain(hModule, DLL_PROCESS_DETACH, 0);
     94         UnregisterLxDll(hModule);
    9395         break;
    9496
Note: See TracChangeset for help on using the changeset viewer.