为什么SHFileExists总会返回False?????
- VB.NET code
Private Declare Function SHFileExists Lib "shell32" Alias "#45" (ByVal szPath As String) As Long
无论参数如何,该函数总会返回0,为什么呢????
这个函数怎么用?
- VB.NET code
Private Declare Function SearchTreeForFile Lib "dbghelp.dll" (ByVal RootPath As String, ByValputPathName As String, ByValputPathBuffer As String) As Long
[解决办法]
SHFileExists(strconv("123",64))