Bugs item #1548944, was opened at 2006-08-29 17:17
Message generated for change (Comment added) made by miesfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1548944&group_id=119701
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: v3.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Terry (rtconstant)
Assigned to: Mark Hessling (rexx)
Summary: No GUID put into Windows registry for WSH
Initial Comment:
In short the problem is that ooRexx 3.1 is "not putting
its GUID into the registry (as scripting engines are
supposed to do)" for WSH.
I have pasted portions of emails to/from the RexxLa
forum below for a more detailed explanation.
My email to RexxLa:
I am using Windows XP sp2 and ooRexx 3.1.
I use 4Nt from JP Software.
The current problem has to do with running ooRexx
under the Windows Scripting Host (WSH).
I have been using a command line like the following
for some time now using 4Nt ver 7.
cscript.exe //e:"Object Rexx" //NoLogo wsh.rex
I just played with 4Nt 8 beta. Ver 8 has a new
"script" command that should make working with ooRexx
under WSH a bit easier. I ran into a problem. I
reported the problem to Rex Conn, the main developer at
JP Software. I have pasted, below, the pertinent part
of his reply -- part of my email to him quoted first
and then his reply.
If I enter the following command line:
script /e"Object Rexx" Wsh.rexh
then I get the following error:
Error (SYS): Invalid class string
Rex Conn's reply to me (my original email to him):
The problem is actually with Object Rexx; it's not
putting its GUID into the registry (as scripting
engines are supposed to do). Instead, it's relying on
the GUID being embedded in XML code that CSCRIPT parses
to find the script code. (4NT & SCRIPT do not support
the XML code parsing; they expect to simply find the
executable code in the file.)
My question to RexxLa forum:
Is Rex Conn correct that ooRexx should be putting
its GUID into the registry and is he accurate that
ooRexx does not so do?
Mark Hessling's reply to me:
Yes, Rex is probably correct. ooRexx does not add any
GUIDs to the registry for the WSH Engine.
Please raise a bug report on SourceForge.
Cheers, Mark
----------------------------------------------------------------------
Comment By: Mark Miesfeld (miesfeld)
Date: 2006-08-30 16:43
Message:
Logged In: YES
user_id=191588
Well, looks like I can't attach a file. Send me an e-mail
if you would like to look at the registry entries I saved.
----------------------------------------------------------------------
Comment By: Mark Miesfeld (miesfeld)
Date: 2006-08-30 16:26
Message:
Logged In: YES
user_id=191588
Mark Hessling,
I looked into this a little bit. Even though, in the
install, ooRexx does not add any GUIDs to the registry,
they are there.
I'm still in the learning state with this, but, I believe
the Object Rexx Script engine is a "self-registering" COM
object.
The ooRexx script engine GUID is: 13DAD011-B0C9-11D4-A829-
000629869785. This is defined in:
oorexx\platform\windows\orxscrpt\guids.hpp in the source.
If you search for this in the registry you will find it.
It is possible that you may need to actually run one of
the samples that uses the ooRexx script engine before the
entries get put in.
I installed ActiveState Perl, so I could compare the
entries for PerlScript (which I know work from searching
the web) and compared them to the ooRexx entries. I'll
attach a zip file containing the ooRexx entries and the
PerlScript entries.
Basically, they look correct to me. ooRexx seems to have
all the same keys, etc. The only thing I see is that
under the CLSID entry, ooRexx is using 'Object Rexx' as
the progid. I don't think it is allowed to have a space
in the ID. (But, again I'm not 100% sure I understand the
docs on OLE Automtation.)
It could be that taking out the space would fix this - if
it even is a real bug. Maybe Terry can report this back
to JP Software and see what they say.
I'll be happy to add this to the things I am looking
into. I can try taking out the space and recompiling the
orxscrpt DLL, if Terry is willing to try it to see if it
changes anything.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1548944&group_id=119701
|