Author: hbelusca
Date: Mon Jun 19 14:24:48 2017
New Revision: 75126
URL:
http://svn.reactos.org/svn/reactos?rev=75126&view=rev
Log:
[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_.ht… .
Added:
trunk/reactos/subsystems/mvdm/wow16/CMakeLists.txt (with props)
trunk/reactos/subsystems/mvdm/wow16/user/
trunk/reactos/subsystems/mvdm/wow16/user/CMakeLists.txt (with props)
trunk/reactos/subsystems/mvdm/wow16/user/user.c (with props)
Modified:
trunk/reactos/subsystems/mvdm/CMakeLists.txt
Modified: trunk/reactos/subsystems/mvdm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/CMakeLists…
==============================================================================
--- trunk/reactos/subsystems/mvdm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/CMakeLists.txt [iso-8859-1] Mon Jun 19 14:24:48 2017
@@ -10,4 +10,4 @@
add_subdirectory(samples)
endif()
add_subdirectory(vdmdbg)
-#add_subdirectory(wow16)
+add_subdirectory(wow16)
Added: trunk/reactos/subsystems/mvdm/wow16/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/wow16/CMak…
==============================================================================
--- trunk/reactos/subsystems/mvdm/wow16/CMakeLists.txt (added)
+++ trunk/reactos/subsystems/mvdm/wow16/CMakeLists.txt [iso-8859-1] Mon Jun 19 14:24:48
2017
@@ -0,0 +1,2 @@
+
+add_subdirectory(user)
Propchange: trunk/reactos/subsystems/mvdm/wow16/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/subsystems/mvdm/wow16/user/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/wow16/user…
==============================================================================
--- trunk/reactos/subsystems/mvdm/wow16/user/CMakeLists.txt (added)
+++ trunk/reactos/subsystems/mvdm/wow16/user/CMakeLists.txt [iso-8859-1] Mon Jun 19
14:24:48 2017
@@ -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)
Propchange: trunk/reactos/subsystems/mvdm/wow16/user/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/subsystems/mvdm/wow16/user/user.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/wow16/user…
==============================================================================
--- trunk/reactos/subsystems/mvdm/wow16/user/user.c (added)
+++ trunk/reactos/subsystems/mvdm/wow16/user/user.c [iso-8859-1] Mon Jun 19 14:24:48 2017
@@ -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(a)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;
+}
Propchange: trunk/reactos/subsystems/mvdm/wow16/user/user.c
------------------------------------------------------------------------------
svn:eol-style = native