Update of /cvsroot/objecthandler/ObjectHandler/xlsdk
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv636/xlsdk
Modified Files:
framewrk.cpp
Log Message:
clarify xlretInvXlfn error message
Index: framewrk.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/xlsdk/framewrk.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** framewrk.cpp 25 May 2006 17:01:57 -0000 1.2
--- framewrk.cpp 2 Jun 2006 13:58:09 -0000 1.3
***************
*** 106,110 ****
msg << (xlfn & 0x0FFF) << ") callback failed: ";
if (xlret & xlretAbort) msg << " Macro Halted ";
! if (xlret & xlretInvXlfn) msg << " Invalid Function Number ";
if (xlret & xlretInvCount) msg << " Invalid Number of Arguments ";
if (xlret & xlretInvXloper) msg << " Invalid XLOPER ";
--- 106,113 ----
msg << (xlfn & 0x0FFF) << ") callback failed: ";
if (xlret & xlretAbort) msg << " Macro Halted ";
! if (xlret & xlretInvXlfn) msg << " Invalid Function Number "
! "- this error may occur when a function which is not registered as a macro "
! "(trailing # in the argument list passed to xlfRegister) "
! "attempts to call a function restricted to macros e.g. xlfCaller.";
if (xlret & xlretInvCount) msg << " Invalid Number of Arguments ";
if (xlret & xlretInvXloper) msg << " Invalid XLOPER ";
|