首页 > 解决方案 > 当我重新运行我的 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?

标签: c++config

解决方案


推荐阅读