The HELP command does not return the description I wrote into the cdf file

During callback registration, the associated cdf filename must be given to make HELP command retrieves automatically the description. The cdfFilename macro must be given on the second parameter of the evhCMD_KEY constructor.

   // Attach VALID command callback
    evhCMD_KEY validCmdKey(cmdVALID_CMD, cmdVALID_CDF_NAME);
    evhCMD_CALLBACK validCB(this, (evhCMD_CB_METHOD)&cmdReplaceByClassNameMANAGER::ValidCB);
    AddCallback(validCmdKey, ValidCB);

-- GerardZins - 13 Jul 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-02-22 - TWikiAdministrator
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback