Ignore:
Timestamp:
Oct 23, 1999, 2:34:48 PM (26 years ago)
Author:
sandervl
Message:

Changes for logging & getversionsize/struct

File:
1 edited

Legend:

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

    r1370 r1410  
    1 /* $Id: initterm.cpp,v 1.15 1999-10-20 08:09:04 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.16 1999-10-23 12:34:46 sandervl Exp $ */
    22
    33/*
     
    3939#include <win32type.h>
    4040#include <odinlx.h>
     41#include "oslibmisc.h"
    4142
    4243/*-------------------------------------------------------------------*/
     
    6364ULONG flAllocMem = 0;
    6465int   loadNr = 0;
     66char  kernel32Path[CCHMAXPATH] = "";
    6567
    6668/****************************************************************************/
     
    8890    {
    8991        case 0 :
     92        {
    9093            loadNr = globLoadNr++;
    9194
     95            strcpy(kernel32Path, OSLibGetDllName(hModule));
     96            char *endofpath = strrchr(kernel32Path, '\\');
     97            *(endofpath+1) = 0;
    9298            dprintf(("kernel32 init\n"));
    9399            _ctordtorInit();
     
    120126            PROFILE_LoadOdinIni();
    121127            break;
     128        }
    122129        case 1 :
    123130            UnregisterLxDll(hModule);
Note: See TracChangeset for help on using the changeset viewer.