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

后端 未结 14 2701
礼貌的吻别
礼貌的吻别 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:15

    Microsoft policy:

    • Before windows 95, we used ini files for application data.
    • In the windows 95 - XP era, we used the registry.
    • From windows Vista, we use ini files although they are now xml based.

    The registry is machine dependent. I have never liked it because its getting to slow and it is almost imposible to find the thing you need. That's why I like simple ini or other setting files. You know where they are (application folder or a user folder) so they are easy portable, and human readable.

提交回复
热议问题