文件路径一问
如何让我的文件放在自设定的路径中:如d:\\share\\
我需要在文件创建前就设定成"d:\\share\\"的路径
1>下面这个方法不适合我,因为我的文件名是动态设定的.
CFile file;
file.Open("d:\\share\\tmpname",CFile::modeCreate |CFile::modeWrite);
2>我用file.open(...)之前用file.SetFilePath("d:\\share\\")
这个命令无效,怎样写才好呢?
help me,please~~~~~~