Subj : Re: help files To : borland.public.cpp.borlandcpp From : "Sebastian Ledesma" Date : Fri Dec 12 2003 11:26 am Mike: To use a help file try this: WinHelp("myHelpFile.hlp", HELP_KEY, (DWORD)(LPSTR)"My Topic"); or WinHelp("myHelpFile.hlp", HELP_CONTENTS, 0); To use a HTML help, you need to load the "HHCTRL.OCX", (it's just a specialized .DLL), get the address process of ATOM_HTMLHELP_API_ANSI ( pHTMLHelp = (HtmlHelpFunc)::GetProcAddress(hHelpOCX, ATOM_HTMLHELP_API_ANSI);) and call the function like this void myHTMLHelp(HWND hWnd, char *helpFilename, int topic, int id) { if (pHTMLHelp) { pHTMLHelp(hWnd, helpFilename, topic, id); } } To create an HTML help: you can do it by hand (like the old times), write ..RTF files with embebed links, or use any of the tools available today like RoboHelp, ForeHelp, Help&Manual, etc. Saludos Sebastian "Jeff Kish" escribió en el mensaje news:7bjjtv4v3a82rbmdibkimqv5ick87pch6q@4ax.com... > On Thu, 11 Dec 2003 21:06:49 -1000, "mike" > wrote: > > >Hi, > > > > i was wondering how to create "help" .hlp files that i can call from my > >win32 application? can anyone give me an example of how to do this? i'm > >using borland 5.02 for development. > > > >Aloha, > >mike > > > Well usually you use some product like robo-help. > These days it seems that html or chm files are more popular. > You might want to consider just making html help files. > HTH > Jeff Kish .