#69 RexxRegisterFunctionDLL returns undocumented error code

4.1.0
closed
Mark Miesfeld
None
5
2012-08-14
2007-12-23
klatham
No

A call to RexxRegisterFunctionDLL is returning code 30 which is not described in the documentation. In other contexts, code 30 is RXFUNC_NOMEM, but of course there is plenty of memory.

Discussion

  • Logged In: NO

    For what it's worth, I think the error it should be trying to report is more like MODULE NOT FOUND - I misspelled the DLL module name path.

     
  • Mark Miesfeld
    Mark Miesfeld
    2010-08-11

    Committed revision 6094.

    ooRexx from 4.0 has an updated and much improved set of native APIs. The documentation for RexxRegisterFunctionDll is updated with the commit above to document the actual, possible, return for the function.

    For what it's worth at this late date, the return was probably:

    RXFUNC_NOTREG 30 / Funct Not Registered in AFT/

    which could have been looked up in rexx.h. As I recall, but I could be wrong, this was used as a sort of catch-all return for failure.

     


Anonymous


Cancel   Add attachments