Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How many shell32.dll's does Windows use?

07 Jun 2010   #1
dunfiddlin

 
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 SpecsSystem Spec
.
07 Jun 2010   #2
baarod

El Capitan / Windows 10
 
 

Quote   Quote: Originally Posted by dunfiddlin View Post
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 SpecsSystem Spec
07 Jun 2010   #3
dunfiddlin

 

Quote   Quote: Originally Posted by baarod View Post
Quote   Quote: Originally Posted by dunfiddlin View Post
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 SpecsSystem Spec
.

07 Jun 2010   #4
fseal

Windows 7 x64 Ultimate
 
 

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 SpecsSystem Spec
07 Jun 2010   #5
baarod

El Capitan / Windows 10
 
 

Quote   Quote: Originally Posted by dunfiddlin View Post
Quote   Quote: Originally Posted by baarod View Post
Quote   Quote: Originally Posted by dunfiddlin View Post
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 SpecsSystem Spec
07 Jun 2010   #6
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?
My System SpecsSystem Spec
07 Jun 2010   #7
baarod

El Capitan / Windows 10
 
 

Quote   Quote: Originally Posted by dunfiddlin View Post
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 SpecsSystem Spec
07 Jun 2010   #8
dunfiddlin

 

Quote   Quote: Originally Posted by baarod View Post
Quote   Quote: Originally Posted by dunfiddlin View Post
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 SpecsSystem Spec
01 Jul 2010   #9
Vector

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 SpecsSystem Spec
01 Jul 2010   #10
dunfiddlin

 

Quote   Quote: Originally Posted by Vector View Post
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 SpecsSystem Spec
Reply

 How many shell32.dll's does Windows use?




Thread Tools




Similar help and support threads
Thread Forum
Need Shell32.dll file for Windows 7 Ultimate x64
I need a clean Shell32.dll file for Windows 7 Ultimate x64 (English) While using IconPackager an error occured and left my icons in disarray. Yes, I know what I'm doing; No, SFC didn't fix it; No, I don't wish to do a repair install. 3 hours of frustration later, I cannot find one reliable...
General Discussion
shell32.dll Problem : Windows 7 x64 custom theme
Hello, Im having a problem modifying shell32.dll on windows 7 x64. On 32 bit windows it was simple, just replace the shell32.dll in windows \system32 and restart. Im trying to modify the control panel side bar (with res hacker). I replace the resources in both windows/system32/shell32.dll and ...
Themes and Styles
Shell32.dll
Hi all, anyone having problems replacing Shell32.dll?? On reboot i get Atbroker.exe failed to start (or something like that) so i have to go into repair mode and delete it then rename original I took ownership but nothing seems to work any ideas pls :huh:
Customization
Missing Shell32.dll after windows update
Over the last few days, each time I shut down my computer, windows installs an update which, when restarted, I get the message: 'The program can't start because SHELL32.dll is missing from your computer. Try reinstalling the program to fix this problem'. Then I can't use windows at all and have...
Windows Updates & Activation
Shell32.dll
I changed this file in both sys32 and syswow64 folders but had to restore an image and now can't change them back. I have taken ownership of both folders. Even in safe mode windows tells me I can't change the file because it is in use by another program. It can't be because nothing is running in...
Customization
AHh I need a shell32.dll
Ok so I accidentally screwed up my shell32.dll file can any body upload so i can replace it with a good one. Windows 7 7057 x64 Thanks!! FIXED!!
General Discussion


Our Sites

Site Links

About Us

Find 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 11:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App