CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BCB1] Help with WinHelp



Hi, 

I can't seem to get the WinHelp function to work when running under windows
95.  The help file says that it is supported by Windows 95 but the function
only seems to work when the application runs on a windows NT machine.  Does
anyone know of any reason why this would be so?  or how to get any extended
error information.  When the function fails it returns 0, but thats all I
get, no help window is opened, or error messages displayed.  The offending
line of code is below :  

  WinHelp(this, help_file.c_str(), HELP_FINDER, 0);

where:  this:        is the main program form
        help_file:   is an AnsiString containing a valid help filename

I have tried other flag values instead of HELP_FINDER but none have worked.
Any Suggestion would be greatly appreciated,

Thanks in Advance 

David
========================================================================
David Simpson                          email : david@aicpl.com.au
Technical Director                     phone : +61-2-9476-2244
Amalgamated Instrument Co Pty Ltd      fax   : +61-2-9476-2902
5/28 Leighton Place, Hornsby,       
NSW   Australia   2077                


W Komornicki's Home Page | Main Index | Thread Index