DrKnS wrote: ↑Mon 11 Dec, 2017 17:49
zg wrote: ↑Mon 11 Dec, 2017 17:23не поддерживает SetCurrentDirectory ни длинных путей, всяких там точек и пробелов на конце
Длинные пути, начиная с какой-то там подверсии windows 10, можно включить.
И фар даже
включает.
Включается это для всего процесса, так что лучше не используйте MAX_PATH в ваших плагинах, вообще.
zg wrote: ↑Mon 11 Dec, 2017 17:23не поддерживает SetCurrentDirectory ни длинных путей
https://msdn.microsoft.com/ru-ru/librar ... s.85).aspx
In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend "\\?\" to the path.
Starting with Windows 10, version 1607, for the unicode version of this function (SetCurrentDirecotryW), you can opt-in to remove the MAX_PATH limitation.
Насколько я понимаю, "\\?\" - это стандартный способ обойти MAX_PATH, а в 1607 можно просто отключить ограничение MAX_PATH.