I am attemting to use GetPrivateProfileString to read from an INI type file, but it keeps returning 0. WritePrivateProfileString and GetPrivateProfileInt work fine. here is my code:
rc = GetPrivateProfileString(appname, keyname, "", variable, 255, filename)
what am i doing wrong?




Reply With Quote