OOREXX and Windows Script Host

Help
Marty
2013-05-24
2013-05-25
  • Marty
    Marty
    2013-05-24

    I downloaded and installed ooRexx-4.1.2.windows.x86_32.exe and ooRexx-4.1.2.source.zip from https://sourceforge.net/projects/oorexx/files/oorexx/4.1.2/.

    I am running Windows XP Pro SP3.

    I get "Windows Script Host:the value for the attribute is not valid: language" when I try to run
    C:\Program Files\ooRexx.4.1.2\samples\windows\wsh\simpleorexx.wsf

    WSH works for Perl - I can run helloworld.wsf

    Other samples like month.rex work fine.

    Thanks,
    Marty

     
  • Mark Miesfeld
    Mark Miesfeld
    2013-05-25

    Prior to ooRexx 4.0, WSH in ooRexx was implemented using undocumented, and unsafe, APIs in the interpreter that made it incompatible with the re-architecture of the interpreter that was done for 4.0.0.

    So, in version 4.0.0 and later WSH is not included in ooRexx. The ooRexx Windows Scripting engine needs to be completely rewritten to be usable.

    There are no WSH samples included in ooRexx-4.1.2.windows.x86_32.exe.

    The WSH samples are still in the repository in case someone takes on the task of re-implementing WSH. Typically, the source distribution is for people that want to build the interpreter on their own and understand the details. The WSH samples will not work in any version of ooRexx 4.0.0 and later. One of the details is that WSH code would need to be re-implemented. ;-)