#325 "system error codes" need pointers to look up

v4.0
closed
5
2012-08-14
2008-10-13
D.M.Wooster
No

Many places in RexxUtil documentation, it says that the return code is really a "System error code", and documents what a few of the most common values mean. Please add links to OS-specific references where each OS documents its "system error codes".

In addition, the discussion of system error codes should also mention using SysGetErrortext().
E.G.
Windows system error codes may be looked up at
http://msdn.microsoft.com/en-us/library/ms681381.aspx

Here is a very rough list of things affected in RexxUtil.
I did not search the rest of the doc, so there may be things outside of RexxUtil which need similar links.
Some things in RexxUtil which belong on this list may have been missed (please add them).
Some things on this list might not really belong there (I often had to guess whether the return code looked like a "system error code" or not). Please verify that these functions really are returning system error codes.

RxWinExec
SysCloseEventSem
SysCloseMutexSem
SysFileCopy
SysFileDelete
SysFileMove
SysFileSearch (??)
SysFileTree (??)
SysFromUnicode
SysMkDir
SysPostEventSem
SysPulseEventSem
SysReleaseMutexSem
SysRequestMutexSem
SysResetEventSem
SysRmDir
SysSaveRexxMacroSpace (says it's the RexxSaveMacroSpace RC, but I didn't see where that's documented, either)
SysSetPriority
SysSwitchSession (says it returns GetLastError of SetForegroundWindow, but that's not documented)
SysToUnicode
SysWait (??)
SysWaitEventSem
SysWaitNamedPipe (WaitNamedPipe return code?)
SysWinDecryptFile
SysWinEncryptFile
SysWinSetDefaultPrinter

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2008-10-13

    Committed revision 3527.

    Added text explaining how to look up a Windows System error code and clarified that SysGetErrorText() can also be used to get a descriptive string of an error code.

    Clarified the return code value for all functions that may return a system error code on Windows.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-09-16

    This request for a feature enhancement has been included in a prior release so the tracker item is being closed.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks