In this line
VECTOR* window_position;
you merely create a pointer to a vector and NOT a vector!

You have to create it like this:
VECTOR window_position;