JF2015 is definitely on the right track.
Use full path for your ini file. The way you do it now, probably means it ended up in the windows directory.
Update:
TIniFile *StartUp = new TIniFile("c:\\path\\to\\inifile\\privs.ini");
Left = StartUp->ReadInteger("FormPos", "Left", 250);
Top = StartUp->ReadInteger("FormPos", "Top", 200);
StartUp->WriteInteger("FormPos", "Top", Top);
StartUp->WriteInteger("FormPos", "Left", Left);
StartUp->UpdateFile()
Call UpdateFile to flush buffered reads from and writes to the INI file to disk. UpdateFile is useful under Windows9x, but has no effect under Windows NT because NT does not buffer INI file reads and writes.
This version of UpdateFile is only available if the application is compiled for Windows
Regards
Espen Harlinn