Saving Registry changes to Persistent memory
-
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
-
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