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.
SetOverwrite: Did we copy the file..
2 posts
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.