Bug in API ftLastWriteTime As Filetime??

ian_w

Registered User.
Local time
Today, 23:49
Joined
Jun 13, 2006
Messages
64
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...

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
 
I've realised that its the way the information is being passed, hopefully be able to get to the bottom of it now.
 

Users who are viewing this thread

Back
Top Bottom