2013-06-11 33 views
-1

我需要用於WideStrings的MatchesMask(或類似的)函數,而不僅僅是字符串。我無法在TNT Unicode控件中找到任何此類功能。我在哪裏可以找到它的Delphi7,也許在一些圖書館?MatchesMask for Widestring?

回答

1

找到 -

function PathMatchSpecW(const pszFileParam, pszSpec: PWideChar): Bool; stdcall; external 'shlwapi'; 

該Windows API調用比 MatchesMask快得多,可以處理WideStrings。

相關問題