I was not able to understand how to do this.
Thank you.
Paolo
BOOL CXXXPlugIn::OnDisplayPlugInHelp( HWND hWnd ) const
{
??? // My_CHM_Path: L"c:\myplugin\mypluginchm.chm"
return CRhinoUtilityPlugIn::OnDisplayPlugInHelp( hWnd );
}
I was not able to understand how to do this.
Thank you.
Paolo
BOOL CXXXPlugIn::OnDisplayPlugInHelp( HWND hWnd ) const
{
??? // My_CHM_Path: L"c:\myplugin\mypluginchm.chm"
return CRhinoUtilityPlugIn::OnDisplayPlugInHelp( hWnd );
}
Thank you Dale.
I did try
HtmlHelp(hWnd, L"c:\\RhinoDev\\Ribs\\ribs.chm", 0, NULL);
and get
RibsPlugIn.obj : error LNK2001: unresolved external symbol HtmlHelpW
C:\Rhinodev\Ribs\x64\Debug64\Ribs.rhp : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
That’s why I’ve asked.
Is your project linking with htmlhelp.lib?
https://msdn.microsoft.com/en-us/library/windows/desktop/ms524238(v=vs.85).aspx
Ok, thank you Dale, it now works fine.
I never had to explicitly add this lib, whose existance I did not know, in so many years. Perhaps this is due to the fact that I developed applications (exe)and MFC extension dlls, never “regular dlls”.
Perhaps as a possible future enhancement, the wizard could generate a project already linking to htmlhelp.lib, if “help” management is required?
Thank you for your assistance!
Paolo
I doubt we will do this, as not all plug-in developers use this type of help file.
I see. Thanks. Paolo