c++ - 当我重新运行我的 c++ 程序时,更新 App.Config 不会更新值?
问题描述
我有一个使用 App.config 文件的 C++ 程序。它从此配置中读取值并在我的程序中使用它们。当我停止我的程序并更新值时,它不会在我重新运行它时反映到我的程序中。
我的程序文件:
MyAppName.dll (Config)
App (Config, looks like txt file)
我的问题如下:
Why can't I use App.config to update the values.
Why is the MyAppName.dll a config file but is a .dll?
Is it bad to modify the MyAppName.dll to update the values?
解决方案
推荐阅读
- textbox - 是否有可能(尤其是任何内置函数)在 VB6 中仅使文本框中的*一些*文本可编辑?
- reactjs - 使用 react-aad-msal 获取两个不同资源和范围的访问令牌
- python - /search(url)/ 字段 'id' 的 ValueError 需要一个数字,但得到了 'Junior'
- css - 带有弹出界面的离子选择样式
- python - Pandas - 根据列列表中的值选择行
- javascript - SyntaxError:在 Jenkins 中运行 Nightwatch 测试的意外标识符
- javascript - 如何使用 JavaScript 按类名获取元素,然后将逗号拆分为新行?
- google-cloud-firestore - 如何让 Firestore onSnapshot 监听器只发送更改?
- sql - 在 FROM 和 WHERE 子句中评估用户定义的变量(Oracle DEFINE 命令)
- go - 更新全局范围变量值