 
            
            
            
            
                19 Oct
                
                    2010
                
            
            
                19 Oct
                
                '10
                
            
            
            
        
    
                1:50 a.m.
            
        You might be better off calling SHGetFolderPath with a CSIDL value like
CSIDL_APPDATA. http://msdn.microsoft.com/en-us/library/bb762181.aspx http://msdn.microsoft.com/en-us/library/bb762494.aspx
I think CSIDL_APPDATA is not the correct flag, we're using the following args to SHGetFolderPath, and it appears to work char path[MAX_PATH]; bool success = SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PERSONAL | CSIDL_FLAG_CREATE, NULL, 0, path)))); ..and I think this would be a most useful addition to boost::filesystem. HTH, Christian