Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
Bingo,here is your guess(and my mistake):#define MAXFLDSIZE 32Thank you
The ANSI Windows API functions use MAX_PATH as the maximum path length.The UNICODE functions use 32kB as the maximum path length.You just need to decide, which route to go.
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.
From the CreateFile Function description at MSDN:QuoteIn 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.And this is not the only location, where you can find it.