- if( !gs_dllCount )
- {
- gs_dllHandle = wxDllLoader::LoadLibrary( "hhctrl.ocx" );
- if( !gs_dllHandle )
- {
- wxLogError(_("MS HTML Help functions are unavailable because the MS HTML Help library is not installed on this machine. Please install it."));
- return FALSE;
- }
- else
- {
- gs_dllCount = 1;
- gs_htmlHelp = (HTMLHELP)wxDllLoader::GetSymbol( gs_dllHandle, HTMLHELP_NAME );
-
- if( !gs_htmlHelp )
- {
- wxLogError(_("Failed to initialize MS HTML Help."));
-
- wxDllLoader::UnloadLibrary(gs_dllHandle);
- gs_dllHandle = 0;
- gs_dllCount = 0;