in reply to Re: Is there a way to catch an error within a module?
in thread Is there a way to catch an error within a module?

MAX_PATH is the same for both
  • Comment on Re^2: Is there a way to catch an error within a module?

Replies are listed 'Best First'.
Re^3: Is there a way to catch an error within a module?
by BrowserUk (Patriarch) on Mar 23, 2008 at 09:57 UTC

    Wrong! From the docs for FindFirstFile:

    In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 widecharacters, call the Unicode version of the function and prepend "\\?\" to the path. For more information, see Naming a File.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.