What version of Windows are you using? Win 7 protects the Program Files folders, and it's possible there's something going on there (if you have your file saving in C:\Program Files)
Try, for a test, using the temp_directory option:
ini_open(temp_directory + "save.ini");
If it works, you may have folder permission issues where you are saving the ini file.
yes i'm using win 7, but your temp suggestion didnt work

this is the only code i'm using in the room, besides setting a timer to go to the next room
if file_exists("save.ini") = 1
{
ini_open("save.ini")
global.example = ini_read_real("XXX","example",1)
ini_close()
}
else
{
ini_open("save.ini")
ini_write_real("XXX","example",1)
ini_close()
}
and as i said, it creates the file fine, it just freezes after it creates it. restarting the game will mean the game doesnt freeze since the file is already created....