Changeset 9618 for trunk/src


Ignore:
Timestamp:
Jan 5, 2003, 2:16:41 PM (23 years ago)
Author:
sandervl
Message:

set hinstance before processing the exports

File:
1 edited

Legend:

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

    r9617 r9618  
    1 /* $Id: winimagepeldr.cpp,v 1.103 2003-01-05 12:31:25 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.104 2003-01-05 13:16:41 sandervl Exp $ */
    22
    33/*
     
    470470    }
    471471
     472    //Use pointer to image header as module handle now. Some apps needs this
     473    hinstance = (HINSTANCE)realBaseAddress;
     474
    472475    if(!(dwFlags & FLAG_PELDR_LOADASDATAFILE))
    473476    {
     
    630633    }
    631634#endif
    632 
    633     //SvL: Use pointer to image header as module handle now. Some apps needs this
    634     hinstance = (HINSTANCE)realBaseAddress;
    635 
    636     //SvL: Set instance handle in process database structure
    637     SetPDBInstance(hinstance);
    638635
    639636    //PH: get pResRootDir pointer correct first, since processImports may
Note: See TracChangeset for help on using the changeset viewer.