[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] "string not recognized" error
In message <20399a5251.jim@xxxxxxxxxxxxxxxxxxxx>
Jim Nagel <stred@xxxxxxxxxxxxxxxx> wrote:
> Fred Graute wrote on 30 Aug:
[starting StrongED sometimes results in a 'String not recognized' error]
> > When the error occurs it should be logged by reporter along with the
> > command that triggered it. That should help identify which variable is
> > giving trouble. Getting the values of the relevant system variables is
> > also helpful, so when the error has occured run the following obey file
> > in a TaskWindow:
>
> >>----- Start obey file
>
> > Show Alias$@RunType_FFF
> > Show Alias$@EditType_FFF
> > Show OLEServer$Type_FFF
> > Show OLEServer$Type_FFB
> > Show TaskWindow$Server
> > Show Alias$TaskWindow
>
> > <----- end obey file
>
> > Post the log from reporter and the output of the obey file here so that
> > we can see what's happening and work out a solution.
>
>
> OK, the error is occurring again after booting up today, after several
> days of using StrongEd without problem.
>
> here is the result of the obeyfile Fred prescribed:
>
> Alias$@RunType_FFF : Run ADFS::IDEDisc4.$.Apps-J2.!StrongED.!Run %*0
> Alias$@EditType_FFF : Run ADFS::IDEDisc4.$.Apps-J2.!StrongED.!Run %*0
> OLEServer$Type_FFF : -N OLESupport -R Desktop_OLESupport|@
^^
That's the problem right there.
> TaskWindow$Server : Resources:$.Apps.!Edit
^^^^
And this is another clue.
My guess is that the problem occurs when you've run Edit prior to
running StrongED, and possibly used it for an OLE session. (As Edit
doesn't support OLE out-of-the-box some utility must be used for this,
usually the OLESupport module.)
For some reason the OLEServer$Type_FFF system variable is not being set
correctly. This results in the error reported when StrongED tries to
read the variable's current contents.
The following Basic code recreates the problem:
s$ = "Blup" + CHR$(0)
SYS "OS_SetVarVal","Plurk",s$,LEN(s$),0,4
If you now try to read the value of Plurk in an obey file you'll get the
same error
If "<Plurk>" <> "" Then Echo <Plurk>
You'll need to find out which program is setting the OLEServer$Type_FFF
variable (OLESupport?) and see if it can be fixed.
Cheers,
Fred.
--
StrongED developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx