Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
inspired by CORE-13361 we were discussing whether it's possible to delay-load kernel32_vista.dll too, same as we did with ntdll_vista.
Goal is to allow at least booting without the file being present (and eventually save some memory/handles then).
Other goal is to not loose any current functionality when file present.
r75427 gcc dbg
as far as I can see kernel32_vista.dll is currently imported by
inseng.dll
libtirpc.dll
msi.dll (a fixme points towards it should be delay-loaded here)
ole32.dll
oleaut32.dll
pdh.dll
rpcrt4.dll
snmpapi.dll
urlmon.dll
wininet.dll
nfsd.exe
I tried delay-loading at all of the above in
WIP-kernel32_vista-delay-load-everywhere.patch
patch compiled and succeeded first stage, but second stage failed here:
r75427-kernel_vista_delay_load_everywhere_fails_SecondStage.png
Log:
(../dll/win32/syssetup/wizard.c:1760) SetupInstallFromInfSection failed with error 998
Not sure, but eventually ticket is blocked by CORE-6504.
Attachments
Issue Links
- is blocked by
-
CORE-6504 [LD BUG] Delay import library combined with __declspec(dllimport) produces bogus output files
- Open
-
CORE-13361 regression: we can not longer bootup reactos without ntdll_vista (& kernel32_vista) and waste 380Kb RAM additionally
- Resolved