Skip to content
⌘ NSIS Forum Archive

how to change a file that being used

4 posts

hotice#

how to change a file that being used

My application includes riched20.dll v4.0 which carried by MSOffice 10.
But the file has the same name is v 3.0 in my winnt\system32.
If I copy the new file into winnt\system32, the system will use the older instead of it immediately.
My OS is Win2000.
The files CAN be copied in Win98.
Joost Verburg#
That's because important system files which should not be changed have 'Windows File Protection' (in ME/2000/XP). So you cannot put this file in the System directory.
brainsucker#
richedit

BTW you can place it in your program dir, this dir will be checked first during the search for that dll.