Weird Error
Bob Stockler
bob at trebor.iglou.com
Tue Nov 30 16:27:17 PST 2004
Here's a weird one . . .
I transferred my filePro stuff (5.0.07DN9) from Windows Me
to Windows XP Professional. I also transferred a UNIX shell
and some native Windows UNIX Utilities at the same time.
One of the choices on my filePro Main Menu is to execute a
UNIX shell. It worked fine on Windows Me, and also does on
XP, except when I exit the processing table that puts me in
a UNIX shell, I get this error message, and the window does
not close:
The instruction at 004b239c referenced memory at ffffffff
The memory could not be read from
The hex addresses may vary, but the message text doesn't.
At first I thought it might be the UNIX shell causing the
problem, but commenting out the SYSTEM command line that
executed it didn't change anything.
I finally commented out every Condition and Action line in
the table, and executing it brings me up immediately to the
regular filePro IUA menu for that filePro file as one would
expect. However, exiting from there still causes the same
error condition.
I can execute other input tables in the same filePro file,
or other filePro files, with no problems.
Below is the processing table. What about it, with everything
in it commented out, could cause this?
1 Then: declare PFPROG,PFDATA,PFDIR,AWKPATH,PATH,OLDPWD
2 Then: declare DFLT,PWD,SHELL,LYNX_CFG,CDPATH,LESS
@MENU If:
3 Then: BREAK OFF ; PFPROG = getenv["PFPROG"]
4 Then: PFDATA = getenv["PFDATA"] ; PFDIR = getenv["PFDIR"]
5 Then: AWKPATH = "C:/UnixUtils/usr/local/wbin"
6 Then: putenv "AWKPATH",AWKPATH ; putenv "ZDOTPATH",AWKPATH
7 Then: PATH = AWKPATH { ";" { getenv["PATH"]
8 Then: putenv "PATH",PATH ; putenv "PS1","%/: " ; putenv "PS2","> "
9 Then: SHELL = "C:/UnixUtils/bin/sh"
10 Then: putenv "SHELL","sh"
11 Then: CDPATH="C:/filepro;C:/fp;C:/UnixUtils/usr/local;C:"
12 Then: putenv "CDPATH",CDPATH
13 Then: putenv "EDITOR","vi"
14 Then: LYNX_CFG = AWKPATH { "/lynx.cfg"
15 Then: putenv "LYNX_CFG",LYNX_CFG
16 Then: LESS="-eisz22fj3"
17 Then: putenv "LESS",LESS
18 Then: putenv "LOGNAME","bob"
19 Then: DFLT = PFDATA { PFDIR { "/filepro" ; OLDPWD = getcwd()
20 Then: show popup("5","-1") "\n Default is: \r" < DFLT < "\r \n "
21 Then: input popup("10","-1") PWD "Work in what directory ?"
If: PWD eq ""
22 Then: PWD = DFLT
23 Then: chdir PWD ; clearP ; cls
24 Then: system "C:/UnixUtils/bin/sh.exe"
25 Then: chdir OLDPWD
26 Then: exit
I've tried everything else but changing the name of the
table, so I guess I'll try that when I get a Round TUIT.
Any ideas out there?
Bob
--
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).
More information about the Filepro-list
mailing list