How many shell32.dll's does Windows use?

Page 1 of 2 12 LastLast

  1. Posts : 190
    Windows 7
       #1

    How many shell32.dll's does Windows use?


    On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

    Win 7 Professional, 32 bit.
      My Computer


  2. Posts : 1,519
    El Capitan / Windows 10
       #2

    dunfiddlin said:
    On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

    Win 7 Professional, 32 bit.
    You're not allowed to edit that file. Windows will replace it using a cache of unmodified system files. There are supported mechanisms for doing the things you want. Please tell us what it was you were trying to accomplish and we'll try to help you in a way that will not destroy your system.
      My Computer


  3. Posts : 190
    Windows 7
    Thread Starter
       #3

    baarod said:
    dunfiddlin said:
    On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

    Win 7 Professional, 32 bit.
    You're not allowed to edit that file. Windows will replace it using a cache of unmodified system files. There are supported mechanisms for doing the things you want. Please tell us what it was you were trying to accomplish and we'll try to help you in a way that will not destroy your system.
    Ok ... now you've panicked everyone ... I most certainly can and may edit the resources of that file, having taken ownership and applied every possible permission to it and using recognised editors and replacement techniques. Many visual styles and themes depend on replacing the file with a customised version so this is hardly news.

    As I already stated, it is not the case that the edited file is being replaced or deleted by the system (nor bringing Windows to its knees!) The edits are still in place after many reboots and start-ups. It is simply that the changes are having no obvious effect which suggests that it is being bypassed in some way or, despite appearances, is not actually the main file used by Windows 7 in the first place.
      My Computer


  4. Posts : 2,528
    Windows 7 x64 Ultimate
       #4

    You might want to try to find some windows modder forums to ask this question.

    If you plan on delving into the tricksey world of hacking at system dlls, you will need a LOT more help or be prepared to spend a tremendous amount of time figuring this all out yourself. In fact a lot of people into modding may not even give you much help as they frequently seem to regard those things as trade secrets themselves

    But anyway, the question is probably far to specific and "out of bounds" for most or anyone in this specific forum. Windows is complex enough just in the realm of expected use which most of us reside in. Outside of that you end up in some pretty specialized areas.
      My Computer


  5. Posts : 1,519
    El Capitan / Windows 10
       #5

    dunfiddlin said:
    baarod said:
    dunfiddlin said:
    On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

    Win 7 Professional, 32 bit.
    You're not allowed to edit that file. Windows will replace it using a cache of unmodified system files. There are supported mechanisms for doing the things you want. Please tell us what it was you were trying to accomplish and we'll try to help you in a way that will not destroy your system.
    Ok ... now you've panicked everyone ... I most certainly can and may edit the resources of that file, having taken ownership and applied every possible permission to it and using recognised editors and replacement techniques. Many visual styles and themes depend on replacing the file with a customised version so this is hardly news.

    As I already stated, it is not the case that the edited file is being replaced or deleted by the system (nor bringing Windows to its knees!) The edits are still in place after many reboots and start-ups. It is simply that the changes are having no obvious effect which suggests that it is being bypassed in some way or, despite appearances, is not actually the main file used by Windows 7 in the first place.
    A fair amount of panic is probably warranted when editing a file as important as shell32.dll. With native code, you often explicitly allocate memory for all loaded resources. Well written code will query for the sizeof the resource prior to allocating memory for it. Not all code is well written. Changing resources out it very risky for exactly this reason.

    I suspect that you've changed out icon resources which are cached by Windows so it does not have to open every file to read the icons. See How to Rebuild the Icon Cache in Windows Vista and Windows 7 - The Winhelponline Blog
      My Computer


  6. Posts : 190
    Windows 7
    Thread Starter
       #6

    Yes, I'm well aware of the risk but this is only a variation on something where many have boldly gone before. Unfortunately it's not icons else I would have been prepared for possible caching problems. There is one minor change to a bitmap. Does Windows cache those too?
      My Computer


  7. Posts : 1,519
    El Capitan / Windows 10
       #7

    dunfiddlin said:
    Yes, I'm well aware of the risk but this is only a variation on something where many have boldly gone before. Unfortunately it's not icons else I would have been prepared for possible caching problems. There is one minor change to a bitmap. Does Windows cache those too?
    Bitmaps are frequently stored in many different bit depths and the proper one selected at runtime. Did you change each one? Bitmaps are not cached by the shell that I'm aware of.
      My Computer


  8. Posts : 190
    Windows 7
    Thread Starter
       #8

    baarod said:
    dunfiddlin said:
    Yes, I'm well aware of the risk but this is only a variation on something where many have boldly gone before. Unfortunately it's not icons else I would have been prepared for possible caching problems. There is one minor change to a bitmap. Does Windows cache those too?
    Bitmaps are frequently stored in many different bit depths and the proper one selected at runtime. Did you change each one? Bitmaps are not cached by the shell that I'm aware of.
    No, I thought not too. Yes, all instances have been modified at the appropriate sizes. It's all very weird!
      My Computer


  9. Posts : 44
    home: Windows 7 x64 • work: OS X 10.12
       #9

    Any update to this? I'm curious to see if the TS solved the issue.
      My Computer


  10. Posts : 190
    Windows 7
    Thread Starter
       #10

    Vector said:
    Any update to this? I'm curious to see if the TS solved the issue.
    Sorry. I'd forgotten all about this. I am now pretty convinced that there is only one shell32 in operation. It's been through a few changes and I've adopted different ways of making changes since so I can't be absolutely sure but I believe I was simply mistaken in the placement of the resources which actually affected my system set-up at the time.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:24.
Find Us