var save_handle;
function save_settings()
{
save_handle = file_open_write("resolution.txt");
file_var_write(save_handle,resolution);
file_close(save_handle);
}
We made a save system in our game based on code like this right up here. We really want to install the game in the program files folder but Vista seems to have a problem with reading and writing files like that in that folder.
It says "Empty pointer in"E1415, invalid pointer or handle in".
Anyone knows a solution to this?