try to use a pointer instead of a vector
VECTOR* path_nodepos = { x=0;y=0;z=0;}


Visit my site: www.masterq32.de