From: Tatsuro M. <tma...@ya...> - 2011-03-30 00:57:44
|
Hello Sorry I have overlooked the below >And we are using version 1.4 and the new Vista help system is not supported on XP or lower. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > > Hello > --- Bastian M将」rkisch wrote: > > > Hhhm. It shouldn't be. MSDN says: > > > > "While Microsoft develops future Help technologies, we encourage Help authors > > to continue using HTML Help 1.4. HTML Help 1.4 is included in Windows篠7." > > > > I have downloaded windows sdk for windows 7. I found the htmlhelp.h and Htmlhelp.Lib in > C:\Program > Files\Microsoft SDKs\Windows\v7.1\Include and C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib, > respectively. > > I have tried to use htmlhelp.h and Htmlhelp.Lib in C:\Program Files\Microsoft SDKs\Windows\v7.1 > but > they cannot be used as they are for current gnuplot cvs code on mingw. > > As a reference I show the diff of htmlhelp.h between in the html help workshop and sdk : > > ******************************* > --- htmlhelp.orig.h 1999-07-14 05:02:22 +0900 > +++ htmlhelp.sdk.h 2010-04-19 20:44:16 +0900 > @@ -17,10 +17,12 @@ > extern "C" { > #endif // __cplusplus > > +#if _MSC_VER < 1200 > // Defines for Win64 > #ifndef _WIN64 > #define DWORD_PTR DWORD > #endif > +#endif > > // Commands to pass to HtmlHelp() > > @@ -53,8 +55,10 @@ > #define HH_SET_EXCLUSIVE_FILTER 0x0019 // set exclusive filtering method for untyped topics to > be > excluded from display > #define HH_INITIALIZE 0x001C // Initializes the help system. > #define HH_UNINITIALIZE 0x001D // Uninitializes the help system. > +#define HH_SET_QUERYSERVICE 0x001E // Set the Host IQueryService interface > #define HH_PRETRANSLATEMESSAGE 0x00fd // Pumps messages. (NULL, NULL, MSG*). > #define HH_SET_GLOBAL_PROPERTY 0x00fc // Set a global property. (NULL, NULL, HH_GPROP) > +#define HH_SAFE_DISPLAY_TOPIC 0x0020 // private addition to the interface for > InternetExplorer. > > #define HHWIN_PROP_TAB_AUTOHIDESHOW (1 << 0) // Automatically hide/show tri-pane window > #define HHWIN_PROP_ONTOP (1 << 1) // Top-most window > @@ -364,19 +368,19 @@ > HWND > WINAPI > HtmlHelpA( > - HWND hwndCaller, > - LPCSTR pszFile, > - UINT uCommand, > - DWORD_PTR dwData > + __in_opt HWND hwndCaller, > + __in LPCSTR pszFile, > + __in UINT uCommand, > + __in DWORD_PTR dwData > ); > > HWND > WINAPI > HtmlHelpW( > - HWND hwndCaller, > - LPCWSTR pszFile, > - UINT uCommand, > - DWORD_PTR dwData > + __in_opt HWND hwndCaller, > + __in LPCWSTR pszFile, > + __in UINT uCommand, > + __in DWORD_PTR dwData > ); > #ifdef UNICODE > #define HtmlHelp HtmlHelpW > @@ -424,3 +428,4 @@ > #endif // __cplusplus > > #endif // __HTMLHELP_H__ > + > **************************************** > > Regards > > Tatsuro > |