Share

acedFindTrustedFile

C++

template <size_t nBufLen> inline int acedFindTrustedFile(
    const wchar_t * pszName, 
    wchar_t (& buf)[nBufLen]
);

File

acedads.h

Description

Deprecated. Searches the AutoCAD trusted file paths for the specified file. The command looks for the file in the regular AutoCAD search path. If a match is found, it verifies if the file path is part of trustedpaths. If the file is not present in any of the directories in the trusted file paths, the function returns NULL

Parameters

Parameters Description
pszName File name to search for
buf Output value of the file name and path

Use Instead

ACCORE_PORT int acedFindTrustedFile(const ACHAR * fname, AcString & sResult);

Was this information helpful?