C++ WinAPI: handling long file paths/names

前端 未结 3 1942
日久生厌
日久生厌 2021-01-12 04:06

I\'m looking at handling longer file paths in my windows application.

Currently, I have a text box (edit box) in which a user can type an absolute file path. I then

3条回答
  •  醉话见心
    2021-01-12 05:03

    No, because if you get a longer path, Windows can't accept it. So while technically, you could hold more chars than that in your buffer, you could never actually use the filepath result.

提交回复
热议问题