// JP opened flex table

Click to See Complete Forum and Search --> : BUG? HTMLHelp in modeless property sheet


Andreas Jäger
April 19th, 1998, 02:29 PM
I used HTML help in a property page of a modeless property sheet. When closing the application, a GPF occurs (read in memory 0x0000000). When not clicking on the help page (ie OnInitDialog is not called), everything wents OK. What goes wrong in my project?

A. Dunkel
April 26th, 1998, 03:15 PM
The problem ist the wrong version of HTML-help that ship with the IE 4.0. You must update with the (hhupd.exe - 400kB)from the Microsoft Server( for the address see my article).

Capsulate the call to the HTML-Help-API with following lines:


HWND CDialogHelperHook::HtmlHelp(HWND hWndCaller,const CString&

strFile,UINT uCommand,DWORD dwData)

{...

try{

return lpfn(hWndCaller,strFile,uCommand,dwData);

}catch(...){

DWORD dwError = GetLastError();

TRACE(_T("Error by calling HTML-Help - Code:%u\n"), dwError );

}

return NULL;

...

}


If you work with the wrong HTML-Help version, the help starts in a separate window.


I hope it's ok!

Soory for my forbidden english!

-ad-




HTML-Help

//JP added flex table