none
User registry in RAM based registry RRS feed

  • Question

  • The hive-based registry uses the system.hv and the user.hv. The user hive is loaded when the user is logged on (https://msdn.microsoft.com/en-us/library/ee490214.aspx).

    The RAM-based registry has only the read and write functions. What is the equivalent to the user hive in the RAM-based registry?

    Thursday, September 10, 2015 6:49 AM

All replies

  • I don't understand on what you are trying to achieve but I you what try persistent on Ram based registry, you can have a look on this link.

    https://msdn.microsoft.com/en-US/library/ee489958(v=winembedded.60).aspx


    Please mark as answer, if it is correct.
    Please vote,if it is helpful post.
    Vinoth.R

    http://vinoth-vinothblog.blogspot.com
    http://www.e-consystems.com/windowsce.asp

    Thursday, September 10, 2015 7:15 AM
  • I don't understand on what you are trying to achieve 

    The hive-based registry is a composite of the system hive and a user hive. The user hive is loaded as described in the references documentation. The user hive is loaded from a user specific file. Let's say I want to save the user specific settings specific for the user and restore them when the user is logged on.

    This requires an equivaltent to a user hive for the RAM-based registry.

    What is the equivalent to the user hive in the RAM-based registry?

    Thursday, September 10, 2015 7:29 AM
  • With RAM based registry, you the device OEM can write the data to anywhere on your device in anyway that your device supports - so only you know.

    Examples:

    1. SPI flash - in this case you don't even have a file system, so no file names at all, just a blob of data.
    2. NOR/NAND Flash using a file system - in this case since you have a file system, you would write a file, but its name and location are fully under your control, there is no standard.
    3. NOR/NAND Flash raw without a file system - this case is just like #1.

    So, you have asked a question with no real answer.



    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman
    I work for Eurotech

    Thursday, September 10, 2015 10:42 PM
    Moderator