|
-
Aug 21st, 2000, 04:02 PM
#1
Thread Starter
Junior Member
Is there a way to replace the shell32.dll and kernel32.dll files (et al.) on the windows system disk from within code for a PC using NT4.0? Since these files and others are in use when windows is running, they can't be replaced. By the same token, I've tried renaming them and then registering them using the LoadLibraryRegister function in the kernel32.dll and then calling the renamed shell in my code. For some reason, I can't even get the renamed dll registered. Any help would be greatly appreciated.
Thanks,
KB Hall
-
Aug 22nd, 2000, 08:46 AM
#2
Fanatic Member
http://msdn.microsoft.com/library/ps...lesio_9oe0.htm
Use the MoveFileEx Function it allows you to replace files on reboot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|