assemblyName.Normalize();
COUNT_T assemblyNameLength = assemblyName.GetCount();
- if (assemblyNameLength == 0 || assemblyNameLength >= MAX_PATH)
+ if (assemblyNameLength == 0 || assemblyNameLength >= MAX_PATH_FNAME)
{
IF_FAIL_GO(FUSION_E_INVALID_NAME);
}
{
HRESULT hr=S_OK;
LPTSTR pszFileName;
- TCHAR szPath[MAX_PATH];
+ TCHAR szPath[MAX_LONGPATH];
DWORD dw = 0;
// _ASSERTE (pszPath ) ;
- if (wcslen(pszName) >= MAX_PATH)
+ if (wcslen(pszName) >= MAX_LONGPATH)
{
IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BUFFER_OVERFLOW));
}
namespace BINDER_SPACE
{
- typedef InlineSString<MAX_PATH + 1> PathString;
+ typedef InlineSString<MAX_LONGPATH + 1> PathString;
class AssemblyVersion;
class AssemblyName;