- not added to build as it useless until we get hhctrl.ocx done.
svn path=/trunk/; revision=26279
--- /dev/null
+<?xml version="1.0"?>\r
+<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">\r
+ <module name="hh" type="win32gui" installbase="system32" installname="hh.exe" unicode="no">\r
+ <include base="hh">.</include> \r
+ <define name="__USE_W32API" />\r
+ <define name="_WIN32_IE">0x0600</define>\r
+ <define name="_WIN32_WINNT">0x0501</define>\r
+ <library>kernel32</library>\r
+ <library>user32</library>\r
+ <library>gdi32</library>\r
+ <file>main.c</file>\r
+ <file>hh.rc</file>\r
+ </module>\r
+</rbuild>
\ No newline at end of file
--- /dev/null
+#include <windows.h>\r
+\r
+#define REACTOS_STR_FILE_DESCRIPTION "ReactOS HTML Help Executable\0"\r
+#define REACTOS_STR_INTERNAL_NAME "hh\0"\r
+#define REACTOS_STR_ORIGINAL_FILENAME "hh.exe\0"\r
+#include <reactos/version.rc>\r
+\r
+2 ICON DISCARDABLE hh.ico\r
+\r
--- /dev/null
+#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;
+}