When - and why - should you store data in the Windows Registry?

后端 未结 14 2696
礼貌的吻别
礼貌的吻别 2020-12-02 05:28

As a developer, tools that store configuration/options in the registry are the bane of my life. I can\'t easily track changes to those options, can\'t easily port them from

14条回答
  •  情深已故
    2020-12-02 06:16

    Is the world going to end if you store a few window positions and a list of most recently used items in the Windows registry? It's worked okay for me so far.

    HKEY-CURRENT-USER is a great place to store trivial user data in small quantities. That's what it's for. It seems silly not to use for its intended purpose just because others have abused it.

提交回复
热议问题