Hi VeT,

No, I don't write in a file ... I just read from a file.
If the state is changed it is set in the struct object.

I only write a file when during game save.

---------

The source of "getFromGSVector" isn't that special:

DLLFUNC var getFromGSVector(container &cont, int pos)
{
return cont.at(pos);
}

I'd never had any problem using the vector.
Maybe you have to check your pointers ... you have to be sure that the address is still correct when you use it with the vector.
A non-static variable gets a new address with every wait. Maybe you have to check this. Don't know.

Regards,
Pegamode.