读书人

为什么SHFileExists总会返回False?解决

发布时间: 2012-01-24 23:11:54 作者: rapoo

为什么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))

读书人网 >VB

热点推荐