请教CFileDialog::GetNextPathName用法
Quain 2004-08-02 12:20:08 A reference to a POSITION value returned by a previous GetNextPathName or GetStartPosition function call. NULL if the end of the list has been reached.
如果GetNextPathName返回是NULL,不能用CString获得,怎么判断如何读到文件夹最后的文件了?
CString filespath[100];
i自增
s_filespath[i] = filedialog.GetNextPathName( p );
当返回null时候就报错了,请教好的解决方法。