| Windows 7: How many shell32.dll's does Windows use? |
07 Jun 2010
|
#1 | | Windows 7 Glastonbury, England |
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 System Specs |
| |
07 Jun 2010
|
#2 | | Windows 7 Ultimate 64-bit Chicago |

Quote: Originally Posted by dunfiddlin 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 System Specs | | System Manufacturer/Model Number baarod/MCP OS Windows 7 Ultimate 64-bit CPU Core2 Quad Q6600 @ 3.6GHz 9x400FSB Motherboard Gigabyte G33M-S2H Memory 4GB DDR2 1066 Graphics Card ATI Radeon HD 4670 Sound Card Integrated Azalia Monitor(s) Displays Acer AL1711 Screen Resolution 1280x1024 Keyboard Microsoft Wireless Comfort Keyboard 4000 Mouse Microsoft Wireless Lasr Mouse 5000 PSU 240W TFX Case InWin BT566 Cooling Intel Retail Stock Hard Drives OCZ Vertex SATAII w/ 1.5FW 30,528MB system and apps
Maxtor 6L300R0 PATA 286,188MB page file, data and user profiles Internet Speed 3Mbps Verizon DSL over 802.11g Other Info Hauppauge WinTV PVR II Tuner, Generic $13 SoC Webcam, RT61 WiFi with remote antenna, Media Center Remote and Receiver |
07 Jun 2010
|
#3 | | Windows 7 Glastonbury, England |

Quote: Originally Posted by baarod 
Quote: Originally Posted by dunfiddlin 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 System Specs | | |
07 Jun 2010
|
#4 | | Windows 7 x64 Ultimate San Diego |
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 System Specs | | System Manufacturer/Model Number Scratch built OS Windows 7 x64 Ultimate CPU i7 960 Motherboard Asus P6X58D Memory 12 Gig Corsair Dominator Graphics Card Nvidia 480 Sound Card Maudio Delta 44 + breakout box Monitor(s) Displays Dell UltraSharp U2410 24in and Samsung 21 dual monitors Screen Resolution 1920x1200 and 1280x1024 Keyboard Logitech G15 + N52 game pad Mouse Logitech MX518 PSU Corasair TX850 Case Cooler Master HAF Cooling Corsair H50 Hard Drives Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode. Internet Speed 15kbs down 4.5kbps up Other Info WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7 |
07 Jun 2010
|
#5 | | Windows 7 Ultimate 64-bit Chicago |

Quote: Originally Posted by dunfiddlin 
Quote: Originally Posted by baarod 
Quote: Originally Posted by dunfiddlin 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 System Specs | | System Manufacturer/Model Number baarod/MCP OS Windows 7 Ultimate 64-bit CPU Core2 Quad Q6600 @ 3.6GHz 9x400FSB Motherboard Gigabyte G33M-S2H Memory 4GB DDR2 1066 Graphics Card ATI Radeon HD 4670 Sound Card Integrated Azalia Monitor(s) Displays Acer AL1711 Screen Resolution 1280x1024 Keyboard Microsoft Wireless Comfort Keyboard 4000 Mouse Microsoft Wireless Lasr Mouse 5000 PSU 240W TFX Case InWin BT566 Cooling Intel Retail Stock Hard Drives OCZ Vertex SATAII w/ 1.5FW 30,528MB system and apps
Maxtor 6L300R0 PATA 286,188MB page file, data and user profiles Internet Speed 3Mbps Verizon DSL over 802.11g Other Info Hauppauge WinTV PVR II Tuner, Generic $13 SoC Webcam, RT61 WiFi with remote antenna, Media Center Remote and Receiver |
07 Jun 2010
|
#6 | | Windows 7 Glastonbury, England |
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 System Specs | | |
07 Jun 2010
|
#7 | | Windows 7 Ultimate 64-bit Chicago |

Quote: Originally Posted by dunfiddlin 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 System Specs | | System Manufacturer/Model Number baarod/MCP OS Windows 7 Ultimate 64-bit CPU Core2 Quad Q6600 @ 3.6GHz 9x400FSB Motherboard Gigabyte G33M-S2H Memory 4GB DDR2 1066 Graphics Card ATI Radeon HD 4670 Sound Card Integrated Azalia Monitor(s) Displays Acer AL1711 Screen Resolution 1280x1024 Keyboard Microsoft Wireless Comfort Keyboard 4000 Mouse Microsoft Wireless Lasr Mouse 5000 PSU 240W TFX Case InWin BT566 Cooling Intel Retail Stock Hard Drives OCZ Vertex SATAII w/ 1.5FW 30,528MB system and apps
Maxtor 6L300R0 PATA 286,188MB page file, data and user profiles Internet Speed 3Mbps Verizon DSL over 802.11g Other Info Hauppauge WinTV PVR II Tuner, Generic $13 SoC Webcam, RT61 WiFi with remote antenna, Media Center Remote and Receiver |
07 Jun 2010
|
#8 | | Windows 7 Glastonbury, England |

Quote: Originally Posted by baarod 
Quote: Originally Posted by dunfiddlin 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 System Specs | | |
01 Jul 2010
|
#9 | | home: Windows 7 x64 • work: OS X 10.4.11 |
Any update to this? I'm curious to see if the TS solved the issue. | My System Specs | | OS home: Windows 7 x64 • work: OS X 10.4.11 CPU home: 3.0 GHz x4 • work: 1.8 GHz x2 Memory home: 8 GB • work: 3 GB Hard Drives home: 500 GB • work: 80 GB |
01 Jul 2010
|
#10 | | Windows 7 Glastonbury, England |

Quote: Originally Posted by Vector 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 System Specs | | How many shell32.dll's does Windows use? problems? All times are GMT -5. The time now is 01:21 PM. | |