Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Saving Registry changes to Persistent memory

Saving Registry changes to Persistent memory

Scheduled Pinned Locked Moved Mobile
helptutorialquestioncsharpc++
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PaulJ
    wrote on last edited by
    #1

    Hi, I am writing an application using eMbedded VC++ 4.0 (SP2) for a device running Windows CE .NET 4.0. I am reading and writing to the Registry using GetProfileInt and SetProfileInt without any problems. However, these changes are only written to the Registry heap in RAM. How do I update the Registry to storage? I have tried RegFlushKey and RegCloseKeyEx and even tried using the CRegKey::Open and CRegKey::Close. But none of these work. I keep getting cryptic error messages that do not help me. Does anyone have a working example that shows how to do this? :confused: Paul Jahans

    B 1 Reply Last reply
    0
    • P PaulJ

      Hi, I am writing an application using eMbedded VC++ 4.0 (SP2) for a device running Windows CE .NET 4.0. I am reading and writing to the Registry using GetProfileInt and SetProfileInt without any problems. However, these changes are only written to the Registry heap in RAM. How do I update the Registry to storage? I have tried RegFlushKey and RegCloseKeyEx and even tried using the CRegKey::Open and CRegKey::Close. But none of these work. I keep getting cryptic error messages that do not help me. Does anyone have a working example that shows how to do this? :confused: Paul Jahans

      B Offline
      B Offline
      besmel
      wrote on last edited by
      #2

      You should ask to your device manufactor. If this is a industrial device, then there should be a 'RegSave' utility : start->run menu then type RegSave

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups