Sub-5ms Named Pipe F1 Routing & Drop-In C++ / C# / VB6 SDKs
Every .rshp build emits ready-to-include SDK headers in out/sdk/ so pressing F1 on any dialog control wakes up RaggieSoftHelp.exe in under 5 milliseconds.
How Named Pipe F1 IPC Works
- Your application intercepts
F1(WM_HELPin C++/Win32/MFC,HelpRequestedin .NET WinForms, orKeyDownin Classic VB6). - The generated SDK shim writes a compact JSON message (
{"ModuleId":"...","ContextId":4160}) to\\.\pipe\RaggieSoft.HelpViewer.IPC.<User>. - If
RaggieSoftHelp.exeis already open, it jumps to the exact topic and#anchorin<5ms; otherwise it launchesRaggieSoftHelp.exeat that context ID automatically.
One-Line Migration from HtmlHelpW
#include "sdk/RaggieSoftHelpSdk.hpp"
// Inside Win32 WndProc:
case WM_HELP:
return rsh::sdk::HandleWmHelp(lParam);