These values are coming from a file within the recyclebin of Windows Vista. The date shown is the date of deletion of the file.
Hexadecimal view
00 19 2F 8E 45 14 C9 01
This is the code I use to get the result.
myfile := TFileStream.Create('c:\temp\$IVVY9BY.xml', fmOpenRead or fmShareDenyWrite);
try
if (myfile.Seek(16, soFromBeginning) = 16) And
(myfile.Read(i, Sizeof(i)) = Sizeof(i)) then
showmessage(Format('Value is %d', ))
else
ShowMessage('Problem reading value');
When I use the above code I get the int64 but the problem is converting this to a timestamp ?
Or do I have to use another piece of code to get the timestamp ?