пропишите вот так в config.cpp
auto get_dir = [&folder, &file, &config]() ->void
{
static TCHAR path[MAX_PATH];
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, NULL, path)))
{
folder = std::string(path) + crypt_str("\\YOUR CHEAT\\configs\\");
file = std::string(path) + crypt_str("\\YOUR CHEAT\\configs\\") + config;