- Timestamp:
- Dec 11, 2002, 3:50:01 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r9455 r9484 1 /* $Id: wprocess.cpp,v 1.16 1 2002-12-03 11:39:40sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.162 2002-12-11 14:50:01 sandervl Exp $ */ 2 2 3 3 /* … … 735 735 } 736 736 737 //****************************************************************************** 738 //Custom build function to disable loading of LX dlls 739 static BOOL fDisableLXDllLoading = FALSE; 740 //****************************************************************************** 741 void WIN32API ODIN_DisableLXDllLoading() 742 { 743 fDisableLXDllLoading = TRUE; 744 } 737 745 738 746 /** … … 931 939 932 940 /** @sketch 933 * IF ( !fPeLoader || fPE == failure) THEN941 * IF (fDisableLXDllLoading && (!fPeLoader || fPE == failure)) THEN 934 942 * Try load the executable using LoadLibrary 935 943 * IF successfully loaded THEN … … 944 952 */ 945 953 //only call OS/2 if LX binary or win32k process 946 if (!f PeLoader || fPE != ERROR_SUCCESS)954 if (!fDisableLXDllLoading && (!fPeLoader || fPE != ERROR_SUCCESS)) 947 955 { 948 956 hDll = OSLibDosLoadModule(szModname); … … 2010 2018 //Force Open32 to use DosStartSession (DosExecPgm won't do) 2011 2019 dwCreationFlags |= CREATE_NEW_PROCESS_GROUP; 2020 2021 dprintf(("KERNEL32: CreateProcess starting [%s],[%s]", 2022 szNELoader, 2023 cmdline)); 2012 2024 rc = O32_CreateProcess(szNELoader, (LPCSTR)cmdline, lpProcessAttributes, 2013 2025 lpThreadAttributes, bInheritHandles, dwCreationFlags,
Note:
See TracChangeset
for help on using the changeset viewer.