_fullpath vs GetFullPathName

What is the difference between: _fullpath and GetFullPathName

Of course, I mean comparing their ANSI / Unicode variants separately

  • Ansi: _fullpathvsGetFullPathNameA
  • Uni: _wfullpathvsGetFullPathNameW

It seems that _fullpath has a much more convenient and simple API, since it allows you to allocate a buffer for you, but I just think that if I replaced GetFullPathNameWwith _wfullpath, what would I skip?

+5
source share
2 answers

. , _fullpath() GetFullPathName(). _fullpath() GetFullPathName(), , .

. , - , .

+3

_fullpath C. GetFullPathName - API Win32.

, _fullpath -, GetFullPathName - Windows.

C . , Windows _fullpath, , GetFullPathName(). .

-3

All Articles