mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Add stub program for winhlp32 (should be located in system32)
- winhlp32 now it is located in c:\reactos BUG: Stub program and winhlp32 have an identical name of a file, but are located in different directories. At installation winhlp32 it is copied in system32 and c:\reactos. We need to think up a way to install two or more files with identical names svn path=/trunk/; revision=39453
This commit is contained in:
@@ -73,6 +73,9 @@
|
||||
<directory name="winhlp32">
|
||||
<xi:include href="winhlp32/winhlp32.rbuild" />
|
||||
</directory>
|
||||
<directory name="winhstb">
|
||||
<xi:include href="winhstb/winhstb.rbuild" />
|
||||
</directory>
|
||||
<directory name="wordpad">
|
||||
<xi:include href="wordpad/wordpad.rbuild" />
|
||||
</directory>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="winhlp32" type="win32gui" installbase="system32" installname="winhlp32.exe" allowwarnings="true" unicode="no">
|
||||
<module name="winhlp32" type="win32gui" installname="winhlp32.exe" allowwarnings="true" unicode="no">
|
||||
<include base="winhlp32">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<define name="__ROS_LONG64__" />
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
@@ -0,0 +1,2 @@
|
||||
/* Icons */
|
||||
#define IDI_MAIN 4000
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* PROJECT: winhlp32.exe
|
||||
* FILE: base\applications\winhlp32\winhstb\winhstb.c
|
||||
* PURPOSE: Stub winhelp32
|
||||
* PROGRAMMERS: Dmitry Chapyshev ([email protected])
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <shellapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include "resource.h"
|
||||
|
||||
#define WINHLP _T("winhlp32.exe")
|
||||
|
||||
int
|
||||
WINAPI
|
||||
_tWinMain(HINSTANCE hCurInst,
|
||||
HINSTANCE hPrevInst,
|
||||
LPTSTR lpsCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
TCHAR szPath[MAX_PATH];
|
||||
|
||||
if(GetWindowsDirectory(szPath, MAX_PATH))
|
||||
{
|
||||
PathAppend(szPath, WINHLP);
|
||||
ShellExecute(NULL,
|
||||
NULL,
|
||||
szPath,
|
||||
lpsCmdLine,
|
||||
NULL,
|
||||
nCmdShow);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShellExecute(NULL,
|
||||
NULL,
|
||||
WINHLP,
|
||||
lpsCmdLine,
|
||||
NULL,
|
||||
nCmdShow);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="winhstb" type="win32gui" installbase="system32" installname="winhlp32.exe" unicode="no">
|
||||
<include base="winhstb">.</include>
|
||||
<library>user32</library>
|
||||
<library>kernel32</library>
|
||||
<library>shell32</library>
|
||||
<library>shlwapi</library>
|
||||
<file>winhstb.c</file>
|
||||
<file>winhstb.rc</file>
|
||||
</module>
|
||||
@@ -0,0 +1,11 @@
|
||||
#include "resource.h"
|
||||
#include <windows.h>
|
||||
|
||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS WinHlp32 Stub\0"
|
||||
#define REACTOS_STR_INTERNAL_NAME "winhstb\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "winhlp32.exe\0"
|
||||
#include <reactos/version.rc>
|
||||
|
||||
IDI_MAIN ICON "res/4000.ico"
|
||||
@@ -74,7 +74,8 @@ base\applications\mscutils\servman\servman.exe 1
|
||||
base\applications\shutdown\shutdown.exe 1
|
||||
base\applications\sndvol32\sndvol32.exe 1
|
||||
base\applications\taskmgr\taskmgr.exe 1
|
||||
base\applications\winhlp32\winhlp32.exe 1
|
||||
base\applications\winhlp32\winhlp32.exe 4
|
||||
base\applications\winhstb\winhlp32.exe 1
|
||||
base\applications\wordpad\wordpad.exe 1
|
||||
|
||||
base\services\audiosrv\audiosrv.exe 1
|
||||
|
||||
Reference in New Issue
Block a user