AMDG On 03/19/2015 08:27 AM, Raffi Enficiaud wrote:
fopen can also work with UNC path, which does not have the MAX_PATH=255 limitation: - https://msdn.microsoft.com/en-us/library/yeby3zcb.aspx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%...
A possible workaround would be to prefix the path name with "\\?\" then.
It's a bit more complicated then that, since \\?\ requires an absolute path. Also, I thought that you need to use wchar_t as well.
If there is an intermediate cmd.exe, I suspect passing filename with the previous prefix works as well.
How to debug at which point things start failing?
This particular failure happens towards the end of function.c. You can find it by searching for fopen. In Christ, Steven Watanabe