0

In WPF, when I drag and drop a file with Long path that has more than 260 characters, it's throwing an error: Error HRESULT E_FAIL has been returned from a call to a COM component. Please let me know how to handle this. Is there any way to get invalid path and prompt for user.

karel
  • 5,489
  • 46
  • 45
  • 50
KOT
  • 57
  • 7
  • 1
    Possible duplicate of [Error HRESULT E\_FAIL has been returned from a call to a COM component](https://stackoverflow.com/questions/4210405/error-hresult-e-fail-has-been-returned-from-a-call-to-a-com-component) – Kebab Programmer Feb 14 '19 at 17:21
  • None of them worked, this is related to LongPath issue – KOT Feb 14 '19 at 17:39

0 Answers0