gpTgr8
4th April 2006 07:45 UTC
SetOverwrite: Did we copy the file..
Hi,
I gotta problem here.. Im planning to use SetOverwrite with ifnewer. but i want to know if i have over written any file so tht i can tell the user if he has to restart the machine.
can some one help me in doing this.
kichik
4th April 2006 15:10 UTC
The only way you can tell is by checking the dates yourself using GetFileTime and GetFileTimeLocal. However, if it's a DLL that requires a reboot after replacement, you should compare it by version and not by date. You should also use the Library macros instead of doing this manually.