1. Make buffer for message large enough to hold very long file names.
2. Pass FORMAT_MESSAGE_ARGUMENT_ARRAY for FormatMessageA to not assume
implementation specific behaviour.
3. Show actual message to user, not non-formatted one.
Showing
Please
register
or
sign in
to comment