Please reply to bruce@<nospam>kit.net.au
Have you tried calling all the exe's from a BAT file.
Regards - Robert
Thank you for your reply.
I can't really do this without changing the way I work. I just want to
get it working on my new computer, the same way it was working on the
old computer. I have large amounts of legacy projects that I have to
maintain; I just can't understand why it works ok on the old one
(which is XP) but not on the new one (also XP).
Type SET and look at all your environment variables. Is something missing
on the new computer, or pointing to the wrong directory?
Can't see anything wrong with the environment variables. I even tried
setting them from a batch file which then calls HPD51 and still no
joy.
Here's another strange symptom. On the PC where I have it working (XP
pro) I noticed that the disk it's on is formatted as FAT32. "Just for
fun" I converted it to NTFS and now the compiler doesn't work on that
PC either.
Does this provide any more clues?
It certainly does. NTFS has a lot more features than the FAT file
systems. One of them it that every file and directory can have an
owner, and can be protected such that only the owner (or
administrators) can write there.
Installation methods designed for DOS or non-NT strands of Windows
will almost invariably get this wrong. The usual result being that it
won't work at all, or only for the admin account that installed it.
So: where on the disk *is* your compiler installed? Somebody's home
directory? Directly off the root directory? C:\"program files"? Or
maybe in the "all users\shared files" part?
What user account did you install it under? Is there any chance it may
be trying to write some temporary file into the directory it's
installed in?
--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
Installed under Administrator account.
Installed in C:\HT-8051.
I did consider this as a possible problem but I thought that
administrator has full privileges. I'm sure this is something to do
with the problem as it doesn't seem to be creating any temporary or
intermediate files.
But I'm running as Administrator.
Any clues?
> I did consider this as a possible problem but I thought that
> administrator has full privileges.
Answer by Radio Erewan: "Yes --- in principle."
NT privilege management is rather weird. Details depend on lots of
things, including on what type of XP you have (home or pro), whether
you're networked to a "domain controller", and probably some others I
forgot.
I don't know this particular program you're running, but I assume it's
a DOS program, originally? In that case, you have the additional
problem that XP's support for DOS programs is not quite as complete as
you may need it --- that's the mildest way I can state it.
Check the attributes of the installed program very carefully, and
those of the source directory, too. Explorer won't even display them
--- you need a command line tool to show and manipulate these "access
control lists", or ACLs for short.
> I'm sure this is something to do with the problem as it doesn't seem
> to be creating any temporary or intermediate files.
Is it supposed to create temp. files? If so, do you know where it's
supossed to create them? Any chance that it's trying to create those
files in a directory that doesn't exist? Or one that is
write-protected?
You may eventually need a DOS call tracer (equivalent of 'strace' on
Unix) to debug this.