Hi!

Try changing this
VECTOR targVec;


to
VECTOR* targVec;

You can read on this topic in the following section of the manual
Mistake 4: Using pointers the wrong way
under Beginner's mistake....(it's the title of the section)

Ottawa smile