Hello Peter,
use unicode version if winapi.
Just user the "\\?\" prefix for this
http://msdn2.microsoft.com/en-us/library/aa365247.aspx
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
PThanks
P>
PI already found out myself.
PIt is limitation of ansi WinAPI.
PFound quick solution here:
P
http://www.abtollc.com/products.aspx
P>
Pthere are c++ and .NET wrapper.
P>
PThanks
P>
PFred wrote:
P>
>Dans : news:uQ**************@TK2MSFTNGP04.phx.gbl, John Saunders
[MVP] disait :
>>"Peter" <wo**********@gmail.comwrote in message
news:fr**********@news.uar.net...
How to deal with this exception?
I need to quickly make my appl to be able to open files beyong this
limit Any help appreciated.
I believe this is a limitation of Windows, not of .NET.
I think some Windows API can handle path longer than 260 chars in
their
Unicode version.
But the framework defines the max to 260.
So, the solution could be to use API perhaps.