On Thu, Oct 9, 2008 at 12:40 PM, Don Guinn <[EMAIL PROTECTED]> wrote:
> I am trying to run JayScript under Vista Pro. Ran into a couple of problems.
> When I ran jscript_reg.bat it failed with DllRegisterServer error code
> 0x80070005. No surprise as I did not run the script as administrator.
> However, when I ran the script as administrator it set the current directory
> to "C:\Windows\system32\regsvr32" and as a result it couldn't find
> jayscript.dll.

You should  be able to just install J, normally, on whatever machine you
want, using an appropriate download from jsoftware.com.

That said, and I have not tried this under Vista, I have installed a minimal
copy of J that consisted of only four files:
   j.dll  j.exe  jreg.bat  profile.ijs

My profile.ijs consisted of:
errmsg=:0 :0
  This system only has a minimal J install.
  For debugging support, please install the whole thing.
  http://www.jsoftware.com/stable.htm
)
errmsg 1!:2<'JERROR.LOG'
errmsg 1!:2]5

the other three files were unaltered files from j602a.  I ran jreg.bat from
the command line (as administrator), and I did not use "start" to run it --
I just typed in jreg.bat when it was in my current directory.

That said, note that jreg.bat says:
   "%~dp0j.exe" /regserver
which looks somewhat different from the regsvr32 command that
you used.

Also, I have installed multiple copies of J on one windows machine,
and the most recent install "wins" for any use of J by COM.  So I
expect that you should be able to just re-install and that should replace
any previous install.

FYI,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to