GetPrivateProfileStringA的文件名要小心写

::GetPrivateProfileStringA("REMOTE", "host", "http://xxx.comftp.php",
login_address, 2048, ".//login_address.ini");

如果是同目录下的

".//login_address.ini"

原文地址:https://www.cnblogs.com/vimmer/p/3517421.html