For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > March 2006 > Any issues using HKLM on Smartphones









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Any issues using HKLM on Smartphones
Shiv

2006-03-21, 10:09 pm

Is there an issue using HKLM registry key instead of HKCU for storing
application specific values on Smartphones ?

I have a PocketPC application which iam porting to Smartphones.
The current code assumes HKLM as the registry root. Is there a strong reason
to change this for the Smartphones ? I read somewhere in the help that HKCU
was recommended. I want to know if there are serious repercussions of not
following that recommendation. Ideally i would like to keep this code common
since changing this would mean chainging other tools that run on the PC which
expect the HKLM heirarchy.

Thanks,

Shiva

riki

2006-03-21, 10:09 pm

Shiv wrote:
> Is there an issue using HKLM registry key instead of HKCU for storing
> application specific values on Smartphones ?
>
> I have a PocketPC application which iam porting to Smartphones.
> The current code assumes HKLM as the registry root. Is there a strong reason
> to change this for the Smartphones ? I read somewhere in the help that HKCU
> was recommended. I want to know if there are serious repercussions of not
> following that recommendation. Ideally i would like to keep this code common
> since changing this would mean chainging other tools that run on the PC which
> expect the HKLM heirarchy.


no you don't need to change HKLM is fine, and most apps use it

riki

----
I used to have a handle on life, then it broke.
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
Yaroslav Goncharov

2006-03-23, 7:08 pm

Certain areas of HKLM are protected on Smartphone. It means that only
trusted apps can modify data there.

--
Yaroslav Goncharov
Spb Software House, http://spbsoftwarehouse.com
Pocket PC Developer Network, http://pocketpcdn.com


"Shiv" <Shiv@discussions.microsoft.com> wrote in message
news:44314B17-478F-4730-B503-B70D99A99230@microsoft.com...
> Is there an issue using HKLM registry key instead of HKCU for storing
> application specific values on Smartphones ?
>
> I have a PocketPC application which iam porting to Smartphones.
> The current code assumes HKLM as the registry root. Is there a strong
> reason
> to change this for the Smartphones ? I read somewhere in the help that
> HKCU
> was recommended. I want to know if there are serious repercussions of not
> following that recommendation. Ideally i would like to keep this code
> common
> since changing this would mean chainging other tools that run on the PC
> which
> expect the HKLM heirarchy.
>
> Thanks,
>
> Shiva
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com