reactos/dll/win32/msvcrt40
Oleg Dubinskiy 91be8bf0a1
[MSVCRT20][MSVCRT40] Fix heap initialization (#6713) CORE-19505
Fixes CORE-19505 'game "Hover!" from rapps does not start anymore'
It failed showing a msgbox
"There was an error allocating memory in Hover!"

the regression was introduced by
0.4.15-dev-5602-g c47506a5f4

Add missing heap initialization in DllMain entrypoints of msvcrt20.dll and msvcrt40.dll,
similarly to as it is done in msvcrt.dll (CRT).
The msvcrt.dll (CRT) initialization code was updated properly
during the last winesync, accordingly to the new changes,
but msvcrt20.dll/msvcrt40.dll one was not. So update it too.
This fixes the crash of HOVER 1.0 game from Rapps when
it tries to allocate a dynamical memory from the
unitialized heap via malloc() function exported from our msvcrt20.dll.
2024-04-06 17:46:11 +02:00
..
CMakeLists.txt
msvcrt40.c [MSVCRT20][MSVCRT40] Fix heap initialization (#6713) CORE-19505 2024-04-06 17:46:11 +02:00
msvcrt40.spec [CRT] Sync $I10_OUTPUT and test with wine head 2023-12-30 12:51:22 +02:00
stubs.c [SDK] Do not include windef.h into stubs.h 2023-10-17 09:41:18 +03:00