One thing I have experienced before, is win98 does not like no \ at the
end of registry path.
i.e.  
        do it like :-   
        Readstring('software\path\','ourapp','');

        not :-
        Readstring('software\path','ourapp','');

The last example works ok with Win2k onwards, and I THINK ME too, but
Win98 and 95 didn't cope with it.
Atleast, I am PRETTY sure its this. Might be the reverse too, i..e don't
put a \ in for win98. 
All I can remember is it was something to do with the \.

HTH.
Jeremy


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Phil Middlemiss
Sent: Thursday, 6 November 2003 16:55
To: Multiple recipients of list delphi
Subject: [DUG]: Win98 and the registry


A win98 user is trying to use our software but experiencing the
following
problem:
When the software is installed, an entry is placed in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
Paths\OurApp
the entry is called "Path" and it contains the directory that "OurApp"
was installed into. The user has checked that this entry is there
(wasn't so had to add it manually). I have confirmed that it is there,
yet when the user runs "OurApp" and the code tries to find the entry, it
comes back empty! Does anyone know of any such issues with Win98 and the
registry? Any clues at all?

Cheers,
Phil.


------------------------------------------------------------------------
---
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to