1

I am trying to to read registry key on Windows 7 using app compiled by Delphi 7 using jclRegistry from Jedi 2.10.

I've double checked registry using regedit and specified entry exists.

Unfortunately: RegReadStringDef(HKEY_LOCAL_MACHINE, 'SOFTWARE\Borland\Delphi\7.0', 'RootDir', '') - returns ''

Is it a chance to fix it without upgradind jedi , delphi etc. If it is could someone give advice please?

tskom
  • 11
  • 1

1 Answers1

0

As far as i see that particular registry Key is in HKEY_CURRENT_USER and not in HKEY_LOCAL_MACHINE

The RegReadStringDef should work in your JEDI version too.

Andrei Pop
  • 81
  • 1
  • 4