@ C++ 编写的exe和dll不在同一路径也能运行的设置 VC 2017 设置工作目录为dll的保存目录 ##设置dll延迟加载 ##增加DLL的搜索路径 const char *dll_path = { “.\dll” }; SetDllDirectory(dll_path); 相关文章: 2022-12-23 2021-11-23 2021-11-28 2022-12-23 2022-12-23 2021-05-14 2021-07-30 2022-12-23