> > > Autonormals function will not be active when the program is launched by double clicking on the VXL file.
> > strange, very strange.
> > :confused: Olaf, I am looking for *.normals in the same directory as args[0];
> Debug and check for yourself if it contains path info.
on my box, it always is the full executable path. Maybe different versions of Windows are different.
> Otherwise, look up GetModuleFileName().
> > when run from a file association in windows, would that not be a full path to the same directory as the exe?
> > Would hate to have to use a registry key... :(