mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[USER.EXE]: Add a *stub* user.exe to make the DirectX 9.0 installer happy (it searches user.exe for existence for no reason, and if it cannot find it, the installer bails out). (WARNING: This is in NO WAY our implementation of WoW16!!)
Reported on https://www.reactos.org/forum/viewtopic.php?f=4&t=15576 , http://reactos.org/forum/viewtopic.php?f=4&t=16498 . This is not a ReactOS problem per se, because it also happens on Windows, as reported here: https://xpetips.wordpress.com/2009/09/18/installing-directx-9-0c-on-xpe/ and http://www.xpembedded.info/DirectX_v9_0c_and_finding_missing_components_.html . svn path=/trunk/; revision=75126
This commit is contained in:
parent
a82d7577b3
commit
ee591f5b01
4 changed files with 33 additions and 1 deletions
|
@ -10,4 +10,4 @@ if(ARCH STREQUAL "i386")
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(vdmdbg)
|
add_subdirectory(vdmdbg)
|
||||||
#add_subdirectory(wow16)
|
add_subdirectory(wow16)
|
||||||
|
|
2
reactos/subsystems/mvdm/wow16/CMakeLists.txt
Normal file
2
reactos/subsystems/mvdm/wow16/CMakeLists.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
add_subdirectory(user)
|
5
reactos/subsystems/mvdm/wow16/user/CMakeLists.txt
Normal file
5
reactos/subsystems/mvdm/wow16/user/CMakeLists.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
add_executable(user user.c)
|
||||||
|
set_module_type(user win32gui ENTRYPOINT mainCRTStartup)
|
||||||
|
add_importlibs(user msvcrt kernel32)
|
||||||
|
add_cd_file(TARGET user DESTINATION reactos/system32 FOR all)
|
25
reactos/subsystems/mvdm/wow16/user/user.c
Normal file
25
reactos/subsystems/mvdm/wow16/user/user.c
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS-on-ReactOS-16bit (aka. RoR16 or WoW16)
|
||||||
|
* FILE: subsystems/mvdm/wow16/user.c
|
||||||
|
* PURPOSE: 16-bit USER stub module
|
||||||
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES *******************************************************************/
|
||||||
|
|
||||||
|
/* PSDK Headers */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
#include <windef.h>
|
||||||
|
#include <winbase.h>
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
|
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||||
|
|
||||||
|
INT main(INT argc, const CHAR *argv[])
|
||||||
|
{
|
||||||
|
OutputDebugStringA("USER.EXE: stub\n");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue