EDN Admin
Well-known member
Hi,
Im using C++ for following scenario.
I came across an issue in IXMLDOMDocument::save, which fails for the file path more than 260 characters. But this info is not mentioned in MSDN documentation. Please see below link:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd874226%28v=vs.85%29.aspx
Meanwhile microsoft also says that when naming a file if we include the escape sequence in the beginning of the file we can exceed the 260 chars for file names. See below link: under the section -
Maximum Path Length Limitation
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
But when i pass this file name(name > 260 chars) the IXMLDOMDocument::save fails.
Somebody please suggest me what should i do in this case.
Note:- Im able to create a file with lengthy name programmatically(using CreateFile in C++) with the escapee sequence "\?".
Please reply ASAP.
Thanks in advance.
Venkat
<br/>
<br/>
View the full article
Im using C++ for following scenario.
I came across an issue in IXMLDOMDocument::save, which fails for the file path more than 260 characters. But this info is not mentioned in MSDN documentation. Please see below link:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd874226%28v=vs.85%29.aspx
Meanwhile microsoft also says that when naming a file if we include the escape sequence in the beginning of the file we can exceed the 260 chars for file names. See below link: under the section -
Maximum Path Length Limitation
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
But when i pass this file name(name > 260 chars) the IXMLDOMDocument::save fails.
Somebody please suggest me what should i do in this case.
Note:- Im able to create a file with lengthy name programmatically(using CreateFile in C++) with the escapee sequence "\?".
Please reply ASAP.
Thanks in advance.
Venkat
<br/>
<br/>
View the full article