Hi,
Im currently writing a db app that does a filesearch and then places the results in table for file compares.
Its using multiple API's and im on the final two steps now but I can't seem to get it working..
My WIN32_FIND_DATA statement currently looks like this...
As you can see the Filetime statements are commented out, when I uncomment these then it stops bringing in filenames? I adjusted my MAX_PATH to be 260 thinking maybe this was to small but its made no difference??
Has anyone else experienced this problem?
Thanks
Ian
Im currently writing a db app that does a filesearch and then places the results in table for file compares.
Its using multiple API's and im on the final two steps now but I can't seem to get it working..
My WIN32_FIND_DATA statement currently looks like this...
Code:
Private Type WIN32_FIND_DATA
dwFileAttributes As Long
'ftCreationTime As Filetime
' ftLastAccessTime As Filetime
'ftLastWriteTime As Filetime
nFileSizeHigh As Long
nFileSizeLow As Long
dwReserved0 As Long
dwReserved1 As Long
cFileName As String * MAX_PATH
cAlternativeFileName As String * 14
End Type
As you can see the Filetime statements are commented out, when I uncomment these then it stops bringing in filenames? I adjusted my MAX_PATH to be 260 thinking maybe this was to small but its made no difference??
Has anyone else experienced this problem?
Thanks
Ian