pFrom,要求是指定要操作的多个文件名称,但是两个文件中间要用\0区分。
PFrom , MSDN 的说明:
Address of a buffer to specify one or more source file names. These names must be fully qualified paths. Standard Microsoft® MS-DOS® wildcards, such as "*", are permitted in the file name position. Although this member is declared as a null-terminated string, it is used as a buffer to hold multiple file names. Each file name must be terminated by a single NULL character. An additional NULL character must be appended to the end of the final name to indicate the end of pFrom.
例如:
“文件1\0文件2\0文件3\0\0”
系统读到第一个\0认为文件1是一个文件,读到第二个就识别了第二个文件,最后的两个\0\0,代表中介文件3,和中介当前字符串串.
可是 LPCWSTR和CSTRING 遇到\0就认为结束了.
我该怎么动态连接字符串啊?
跪求!!!!!急用!!!!!