Ignore:
Timestamp:
Aug 11, 2000, 12:56:27 PM (25 years ago)
Author:
sandervl
Message:

Updates for fake system dll headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glu/initterm.cpp

    r2996 r3993  
    1 /* $Id: initterm.cpp,v 1.7 2000-03-04 19:10:12 jeroen Exp $ */
     1/* $Id: initterm.cpp,v 1.8 2000-08-11 10:56:22 sandervl Exp $ */
    22
    33/*
     
    4343 extern DWORD _Resource_PEResTab;
    4444}
     45static HMODULE dllHandle = 0;
    4546
    4647//******************************************************************************
     
    8687         _ctordtorInit();
    8788
    88          /*******************************************************************/
    89          /* A DosExitList routine must be used to clean up if runtime calls */
    90          /* are required and the runtime is dynamically linked.             */
    91          /*******************************************************************/
    92 
    93          if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE)
    94                 return 0UL;
    95 
    9689         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
    9790
     91         dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
     92         if(dllHandle == 0)
     93                return 0UL;
     94
    9895         break;
    99 
    10096      case 1 :
    101          UnregisterLxDll(hModule);
     97         if(dllHandle) {
     98                UnregisterLxDll(dllHandle);
     99         }
    102100         break;
    103101
Note: See TracChangeset for help on using the changeset viewer.