WinHelp() does not work on Win NT?
Hi,
In my application i use the WinHelp() function to display a help file. With Windows 95 and 98 this works fine, however with Windows NT it doesn't. The message i get from Window NT is:
"THIS FILE IS NOT A WINDOWS HELP FILE, A NEWER VERSION OF HELP IS NEEDED TO READ THIS HELP FILE".
The following is a fragment from the code how i implemented the help. Is there a different way to do this in Windows NT?
Code:
#define HELP_FILE "Help1_9.hlp"
void Frame::OnHelpContents(void)
{
CString Path;
CCPCApp* pApp = (CCPCApp*)AfxGetApp();
if(pApp)
{
pApp->GetPath(Path);
Path += HELP_FILE;
::WinHelp( this->m_hWnd, Path,
HELP_CONTENTS,
0);
}
}