Results 1 to 2 of 2

Thread: Replacing shell32.dll & kernel32.dll in code?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    28
    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

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754

    Wink

    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
  •  



Click Here to Expand Forum to Full Width