Registry write/read

I have a problem writting into registry with TRegistry (in Vista Home Premium with Borland Builder ver 6.0). I have specified RootKey as HKEY_LOCAL_MACHINE, subkey "\Software\MyKey" but the keys are ceated into something like HKEY_CURRENT_USERClassesVirtualMachineSoftwareMyKey. Is there any way I can make it into HKEY_LOCAL_MACHINE hive?
Thank you,


  • Screw Borland components and use pure Win API.


    Those functions are quite easy to use.
  • Thanks Lundin for quick reply,
    I wonder if the new Builder 2009 is any better?
  • I'm currently using it, and it is... meh.

    For example, they decided to make the standard string class Unicode. And it is as impossible as ever to configure hotkeys... it is laughable how MS Word is actually better at this than Builder. The whole UI is a mess. It is especially hard to find the particular setting you are looking for.

    If you have Borland 5 or 6, stick with those, they are the best RAD tools released. From there it went downhill. Borland was probably smart to get rid of the sinking ship...
  • Thanks Lundin for the info, it's a pitty that the Builder is in such a poor state, it was (and still is) such a good tool especially for the database, I am thinking wich way to go from here? Delphi, C# or Visual C++, Java? I am too old to learn new tricks :), but the road ahead of me seems a bit muddy.
  • Delphi == Builder. They have been using the same engine ever since the start, but they are now shipped together as well.

    Visual Studio seems to be heading in the right direction, though I really can't tell since the most recent Visual Studio I did was some VB crap 5 years ago. The fact that MS is still making new versions of VB doesn't bode well, however. That language has been completely obsolete for 14 years.

    C# == Java (very similar). Those are very nice languages, but I doubt it will last too long because of all the runtime junk you need to deliver with them. As soon as a fast, equally clean language without runtime junk is invented, I reckon those 2 languages will quickly become obsolete. On the other hand, they will probably last longer than C++, and most certainly longer than Delphi.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!