- add hh.exe

- not added to build as it useless until we get hhctrl.ocx done.

svn path=/trunk/; revision=26279
This commit is contained in:
Ged Murphy 2007-04-07 15:24:45 +00:00
parent 9da28b4efd
commit d3bc04a87c
4 changed files with 46 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="hh" type="win32gui" installbase="system32" installname="hh.exe" unicode="no">
<include base="hh">.</include>
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>
<file>main.c</file>
<file>hh.rc</file>
</module>
</rbuild>

View file

@ -0,0 +1,9 @@
#include <windows.h>
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS HTML Help Executable\0"
#define REACTOS_STR_INTERNAL_NAME "hh\0"
#define REACTOS_STR_ORIGINAL_FILENAME "hh.exe\0"
#include <reactos/version.rc>
2 ICON DISCARDABLE hh.ico

View file

@ -0,0 +1,23 @@
#include <windows.h>
typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);
int WINAPI
WinMain(HINSTANCE hInst,
HINSTANCE hPrevInst,
LPSTR cmdline,
int cmdshow)
{
HMODULE hModule;
DOWINMAIN *doWinMain;
int ret = -1;
hModule = LoadLibraryA("hhctrl.ocx");
doWinMain = (DOWINMAIN*) GetProcAddress(hModule, "doWinMain");
ret = doWinMain(hInst, cmdline);
FreeLibrary(hModule);
return ret;
}