Don't do this...
Use GetUserName()/Ex() - you'll be burned by using
SHGetSpecialFolderPath long term...
From: Kardamone [mailto:kardamone2@...]
Sent: Sunday, August 26, 2001 11:34 AM
Subject: Re: [Algorithms] User login name
> tool. The shader tool is embedded directly into the 3d engine. You
> 'pick' any polygon in a scene and invoke the editor to directly modify
> surface properties of that material. This is pretty cool because the
> artists can simply walk around one of their buildings, pick items of
> interest, and then tweak the paramters as much as they want. This
> allows them to modify every property imaginable, render states,
> blending stages, etc. etc.
Yeah looks great :)
Well this could be a hack : usually the path for user's special folders
user's name witch you can extract from...