Re: Deleting a registry key in Win CE 6.0 (.net)
- From: batvanio@xxxxxxxxx
- Date: Fri, 18 Jan 2008 14:05:03 -0800 (PST)
Thanks Bruce,
In my Platform Builder I can see Hive-based Registry and RAM based
registry - I choose the Hive based. Now, I am not sure if hives can
still be in RAM and need some flushing mechanism - from what I read,
they are supposed to use the file system, so right now I am trying to
find out what is wrong with my setup.
Ivan
On Jan 18, 5:30 am, "Bruce Eitman [eMVP]"
<beitman.nos...@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Do you really have a persistent registry in your 6.0 build? The default is
to put the hives in RAM.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
<batva...@xxxxxxxxx> wrote in message
news:02b6f4cd-5daa-4c9d-a4d0-dd87eda3651d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Also, I am not able to flush the registry key in the persistent
storage. I am using the RegistryKey.Flush and also unmanaged
RegFlushKey but data is not flushed. Also, in this case I did not get
any exception - just after rebooting, data that was supposed to be
flushed is not in the registry.
Any input is highly appreciated.
Ivan
On Jan 17, 2:53 pm, batva...@xxxxxxxxx wrote:
Hi
I am trying to delete programatically a particular third-party
registry key using the DeleteSubKey method. I was able to do this in
Win CE 5.0 and .net 2.0, but now I am switching to win CE 6.0 and I
get UnauthorizedAccessException. Is there a way to change the user
access settings for this key? There is a SetAccessControl method but
it is not supported in CE. Any other method that I can use?
I am also not able to delete the key and its parent key using a
registry editor tool, however I am able to delete the grand-parent
key...
Thanks
Ivan- Hide quoted text -
- Show quoted text -
.
- Follow-Ups:
- Re: Deleting a registry key in Win CE 6.0 (.net)
- From: Bruce Eitman [eMVP]
- Re: Deleting a registry key in Win CE 6.0 (.net)
- References:
- Deleting a registry key in Win CE 6.0 (.net)
- From: batvanio
- Re: Deleting a registry key in Win CE 6.0 (.net)
- From: batvanio
- Re: Deleting a registry key in Win CE 6.0 (.net)
- From: Bruce Eitman [eMVP]
- Deleting a registry key in Win CE 6.0 (.net)
- Prev by Date: Re: Enabling IPv6 in WM5.0 or WM6.0
- Next by Date: Re: tpcutil.lib error
- Previous by thread: Re: Deleting a registry key in Win CE 6.0 (.net)
- Next by thread: Re: Deleting a registry key in Win CE 6.0 (.net)
- Index(es):
Relevant Pages
|