Changeset 4407 for trunk/src/kernel32/winimagepeldr.cpp
- Timestamp:
- Oct 3, 2000, 7:28:32 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepeldr.cpp
r4015 r4407 1 /* $Id: winimagepeldr.cpp,v 1.5 3 2000-08-14 19:15:37sandervl Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.54 2000-10-03 17:28:31 sandervl Exp $ */ 2 2 3 3 /* … … 1405 1405 } 1406 1406 lxdll->setDllHandleOS2(hInstanceNewDll); 1407 lxdll->AddRef(); 1407 if(lxdll->AddRef() == -1) {//-1 -> load failed (attachProcess) 1408 dprintf((LOG, "Dll %s refused to be loaded; aborting", modname)); 1409 delete lxdll; 1410 errorState = ERROR_INTERNAL; 1411 return(FALSE); 1412 } 1408 1413 WinDll = (Win32DllBase*)lxdll; 1409 1414 } … … 1423 1428 if(pedll->init(0) == FALSE) { 1424 1429 dprintf((LOG, "Internal WinDll error ", pedll->getError() )); 1430 delete pedll; 1425 1431 return(FALSE); 1426 1432 }
Note:
See TracChangeset
for help on using the changeset viewer.