解决维护工具不能修改密码的问题
This commit is contained in:
parent
d638073de8
commit
94bb821804
|
@ -517,6 +517,7 @@ void MainWindow::on_btnModifyPassword_clicked()
|
||||||
{
|
{
|
||||||
HGChar cfgPath[256]= {0};
|
HGChar cfgPath[256]= {0};
|
||||||
HGBase_GetConfigPath(cfgPath, 256);
|
HGBase_GetConfigPath(cfgPath, 256);
|
||||||
|
HGBase_CreateDir(cfgPath);
|
||||||
strcat(cfgPath, "config.ini");
|
strcat(cfgPath, "config.ini");
|
||||||
HGChar str[256] = {0};
|
HGChar str[256] = {0};
|
||||||
HGBase_GetProfileString(cfgPath, "login", "password", "", str, 256);
|
HGBase_GetProfileString(cfgPath, "login", "password", "", str, 256);
|
||||||
|
|
Loading…
Reference in New Issue