Ignore:
Timestamp:
May 22, 2001, 4:25:36 PM (24 years ago)
Author:
sandervl
Message:

Check name before adding dependency for module

File:
1 edited

Legend:

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

    r5128 r5782  
    1 /* $Id: windllbase.cpp,v 1.24 2001-02-14 10:36:45 sandervl Exp $ */
     1/* $Id: windllbase.cpp,v 1.25 2001-05-22 14:25:34 sandervl Exp $ */
    22
    33/*
     
    252252        //printDependencies(NULL);
    253253#endif
     254
    254255        dprintf(("Win32DllBase::Release %s referenced == 0", getModuleName()));
    255256
     
    414415    }
    415416
    416     dprintf(("attachProcess to dll %s", szModule));
    417 
    418417    // @@@PH 2000/06/13 lpvReserved, Starcraft STORM.DLL
    419418    // if DLL_PROCESS_ATTACH, lpvReserved is NULL for dynamic loads
     
    427426        lpvReserved = (LPVOID)0xdeadface; // some arbitrary value
    428427
     428#ifdef DEBUG
     429    int time1, time2;
     430    dprintf(("attachProcess to dll %s", szModule));
     431    time1 = GetTickCount();
     432#endif
     433
    429434    rc = dllEntryPoint(hinstance, DLL_PROCESS_ATTACH, lpvReserved);
    430435
    431     dprintf(("attachProcess to dll %s DONE", szModule));
     436#ifdef DEBUG
     437    time2 = GetTickCount();
     438    dprintf(("attachProcess to dll %s DONE in %x msec", szModule, time2-time1));
     439#endif
    432440
    433441    if(fSetExceptionHandler) {
Note: See TracChangeset for help on using the changeset viewer.