in the GetFullPathName() docs, unfortunately it is not mentioned that the
in-buffer may not be the same as the out-buffer, or else GetFullPathName()
terminates the application.
It would be nice if this could be included in the SDK documentation and MSDN
lpFileName is a LPCTSRT which is a CONST CHAR * or CONST WCHAR *
lpBuffer is a LPTSTR which is a CHAR * or WCHAR *
Christian Kaiser wrote in message ...
It's only for the Unicode API, as the SBCS API uses buffers to convert the
parameters, so it will be different automatically in this case.
Fun thing is that in Win9x, they are allowed to be identical (at least, it
does not crash). Is there really different code?
Raymond Chen <raym...@microsoft.com.---> wrote in message