Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep the ex last date and time
Message
 
To
29/10/2003 08:24:16
General information
Forum:
Visual C++
Category:
Microsoft Foundation Classes
Miscellaneous
Thread ID:
00843619
Message ID:
00844077
Views:
20
Hi Sylvain,

Thank you.

Ali

>You can use the GetFileTime API to read the original timestamp and SetFileTime to set it back to that timestamp after you are done with the file.
>
>HTH
>
>>I am using CFile files:
>>
>>
CFile myFile;
>>myFile.Open(…);
>>
>>I modify the file here
>>
>>myFile.Close();
>>
>>When I modify myFile the “Last Date Modified” is changed to the time that modifications were done. How can I prevent that? I don’t want to change this date and time. Actually, I don’t want to show that I have changed the content of myFile.
Previous
Reply
Map
View

Click here to load this message in the networking platform