I'm 99% sure the UAC is your problem.


________________________________
 From: tang ke <ta...@lemote.com>
To: Jason H <scorp...@yahoo.com> 
Cc: "interest@qt-project.org" <interest@qt-project.org> 
Sent: Wednesday, July 18, 2012 8:32 PM
Subject: Re: [Interest] about QSettings
 
Service Pack 3

于 2012年07月19日 01:47, Jason H 写道:
> The registry can be locked down as part of domain policy. And later
> versions of XP has it secured by default. What service pack are you
> running?
>
>
> ------------------------------------------------------------------------
> *From:* tang ke <ta...@lemote.com>
> *To:* Jason H <scorp...@yahoo.com>
> *Cc:* "interest@qt-project.org" <interest@qt-project.org>
> *Sent:* Tuesday, July 17, 2012 10:05 PM
> *Subject:* Re: [Interest] about QSettings
>
> thanks for your reply.
>
> but my os is windows xp, not the right menu of "Run as Administrator"
>
> 于 2012年07月18日 09:42, Jason H 写道:
> > I don't think your account is administrator, or if it is, you are not
> > running as such. Later versions of Windows protect HKLM - that's
> > protected by UAC, and you need to escalate to write to it. Try running
> > the program by "Run as Administrator" and I bet it will work...
> >
> > ------------------------------------------------------------------------
> > *From:* tang ke <ta...@lemote.com <mailto:ta...@lemote.com>>
> > *To:* interest@qt-project.org <mailto:interest@qt-project.org>
> > *Sent:* Tuesday, July 17, 2012 9:22 PM
> > *Subject:* [Interest] about QSettings
> >
> > hi,
> > when i use the qt 4.7.4 with windows xp, i found that when i use the
> > QSettings to write sub key of HKEY_LOCAL_MACHINE, it fails.
> > but when i write the sub key of HKEY_CURRENT_USER, it success.
> >
> > i know that QSettings use the windows api (eg RegCreateKey....) to do
> > it, so I use the RegCreateKey to do it directly, but it fails too.
> >
> > my windows account is administrator.
> >
> >
> > thanks in advance.
> >
> > --
> > 应用部 唐科
> > TEL : 0512-52308661-88686
> > FAX: 0512-52308688
> > MP : 18962393077
> > E-mail: ta...@lemote.com <mailto:ta...@lemote.com>
> <mailto:ta...@lemote.com <mailto:ta...@lemote.com>>
> > 地址:江苏省常熟市虞山镇梦兰工业园
> >
> > _______________________________________________
> > Interest mailing list
> > Interest@qt-project.org <mailto:Interest@qt-project.org>
> <mailto:Interest@qt-project.org <mailto:Interest@qt-project.org>>
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
> >
>
>
> -- 
> 应用部 唐科
> TEL : 0512-52308661-88686
> FAX: 0512-52308688
> MP : 18962393077
> E-mail: ta...@lemote.com <mailto:ta...@lemote.com>
> 地址:江苏省常熟市虞山镇梦兰工业园
>
>
>


-- 
应用部  唐科
TEL : 0512-52308661-88686
FAX: 0512-52308688
MP : 18962393077
E-mail: ta...@lemote.com
地址:江苏省常熟市虞山镇梦兰工业园
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to