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: Deleting or replacing dlls on windows 7

19 Aug 2013   #1
ftlog

Windows 7 Professional 64bit
 
 
Deleting or replacing dlls on windows 7

Hi all,

I have some dlls on windows 7 which are not working properly, so I was hoping to replace them with dlls from the XP version of the application I am trying to get working (as they work fine on the XP version). So far simply replacing the dlls is not working because deleting or replacing those on windows 7 requires certain 'permissions' (and since I'm an administrator, this shouldn't be a problem, but it is). I have tried taking ownership of the dlls but instead am just asked for permission from myself without an option to give it. I have also tried registering and unregistering dlls accordingly, which does not work. I am now looking to place the old dlls into a new dll directory folder and then using VBA, get it so that the reference in the excel sheet is pointed to the directory in which these dlls are now placed. From then I can just register and unregister accordingly, hopefully. However when I try to change the reference, I get told that I cannot add the reference to the specified file. Does anyone know what this means and whether I am doing this completely wrong? If you have any advice or another solution, please let me know.



My System SpecsSystem Spec
.
19 Aug 2013   #2
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Hi and welcome to the Forum.
I would not recommend putting a DLL from an XP version of Windows into a Windows 7 installation.
First off, how do you know the DLL's are not "working properly"?
Second, Where are the DLL's in question located?
Third, Have you run sfc /scannow?
My System SpecsSystem Spec
19 Aug 2013   #3
ftlog

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by mitchell65 View Post
Hi and welcome to the Forum.
I would not recommend putting a DLL from an XP version of Windows into a Windows 7 installation.
First off, how do you know the DLL's are not "working properly"?
Second, Where are the DLL's in question located?
Third, Have you run sfc /scannow?
Thank you for the welcome and the reply!

I used dependency walker to compare the program on XP and on windows 7. The program on windows 7 is in the development stage and has been upgraded, but I am carrying out the testing for it now. The dependency walker showed certain DLLs which were updated had modules missing and it was suggested to me by others on my team to replace these with the ones from XP which are definitely working.

The DLLs are mainly located in c:\windows\system32

I haven't tried sfc /scannow but I just tried it now and it's saying 'Another servicing or repair operation is currently running. Wait for this to finish and run sfc again' - any idea what could be running and how to stop it while I want to try this sfc /scannow thing?

Thank you!

Btw, your avatar is amazing!
My System SpecsSystem Spec
.

19 Aug 2013   #4
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

When you say
Quote:
I used dependency walker to compare the program on XP and on windows 7. The program on windows 7 is in the development stage and has been upgraded, but I am carrying out the testing for it now.
What program are you talking about?
I would not recommend touching anything in the system32 folder! This is a most important folder in the Windows Operating system. This is why Windows will not allow you to edit the files therein.
You do not need third party programs to check your system. Windows 7 has enough built in to cover all your needs. It is probably this "Dependency walker" that is stopping SFC /scannow from running.
My System SpecsSystem Spec
19 Aug 2013   #5
ftlog

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by mitchell65 View Post
When you say
Quote:
I used dependency walker to compare the program on XP and on windows 7. The program on windows 7 is in the development stage and has been upgraded, but I am carrying out the testing for it now.
What program are you talking about?
I would not recommend touching anything in the system32 folder! This is a most important folder in the Windows Operating system. This is why Windows will not allow you to edit the files therein.
You do not need third party programs to check your system. Windows 7 has enough built in to cover all your needs. It is probably this "Dependency walker" that is stopping SFC /scannow from running.
It's an internal program in my company, so I can't give too many details. It's the one that I am trying to get working on windows 7 but won't run with these weird DLLs.
Dependency walker shouldn't be an issue though - it's a common program and is not currently running...
But if the DLLs aren't acting correctly, what else can I do?
My System SpecsSystem Spec
19 Aug 2013   #6
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by ftlog View Post
It's an internal program in my company, so I can't give too many details.
Dependency walker shouldn't be an issue though - it's a common program and is not currently running...
But if the DLLs aren't acting correctly, what else can I do?
So is this "secret" program compatible with Windows 7?
Are you sure Dependency Walker is not running in the back ground, if you are sure how did you check that?
My System SpecsSystem Spec
19 Aug 2013   #7
ftlog

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by mitchell65 View Post
Quote   Quote: Originally Posted by ftlog View Post
It's an internal program in my company, so I can't give too many details.
Dependency walker shouldn't be an issue though - it's a common program and is not currently running...
But if the DLLs aren't acting correctly, what else can I do?
So is this "secret" program compatible with Windows 7?
Are you sure Dependency Walker is not running in the back ground, if you are sure how did you check that?
Haha, sorry it's so 'secret'! And it's not yet compatible with windows 7 - that's what I'm (unsuccessfully) trying to get done! I need it to work on windows 7 but so far have just been given an upgraded version of the XP program and have been told to get it to work!
I have to open up dependency walker to get it to show me the module tree of the DLLs...and it's not open in task manager... I assumed that would be sufficient to decide if it was enough, haha, or am I incredibly wrong?
Oh, I just tried doing the sfc /scannow thing again and it's finally working - I did just close a bunch of things, so it must have been one of those. What should I hope to get back from this scan when it's done?
My System SpecsSystem Spec
19 Aug 2013   #8
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by ftlog View Post
Quote   Quote: Originally Posted by mitchell65 View Post
Quote   Quote: Originally Posted by ftlog View Post
It's an internal program in my company, so I can't give too many details.
Dependency walker shouldn't be an issue though - it's a common program and is not currently running...
But if the DLLs aren't acting correctly, what else can I do?
So is this "secret" program compatible with Windows 7?
Are you sure Dependency Walker is not running in the back ground, if you are sure how did you check that?
Haha, sorry it's so 'secret'! And it's not yet compatible with windows 7 - that's what I'm (unsuccessfully) trying to get done! I need it to work on windows 7 but so far have just been given an upgraded version of the XP program and have been told to get it to work!
I have to open up dependency walker to get it to show me the module tree of the DLLs...and it's not open in task manager... I assumed that would be sufficient to decide if it was enough, haha, or am I incredibly wrong?
Oh, I just tried doing the sfc /scannow thing again and it's finally working - I did just close a bunch of things, so it must have been one of those. What should I hope to get back from this scan when it's done?
Well now I know what we are talking about you can forget sfc /scnnow for the time being though it's a good idea to run it from time to time to keep your system running well. I think what you are trying to do is to re write some of the programming of this softawre. That is totally beyond me and I would say it is a job for the original author of the software, certainly not a job for the faint hearted.
Personally I have to say I wouldn't know where to start. Sorry. One of the programmers on this Board may see this but it is a bit of a long shot, I think!
My System SpecsSystem Spec
19 Aug 2013   #9
ftlog

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by mitchell65 View Post
Quote   Quote: Originally Posted by ftlog View Post
Quote   Quote: Originally Posted by mitchell65 View Post
So is this "secret" program compatible with Windows 7?
Are you sure Dependency Walker is not running in the back ground, if you are sure how did you check that?
Haha, sorry it's so 'secret'! And it's not yet compatible with windows 7 - that's what I'm (unsuccessfully) trying to get done! I need it to work on windows 7 but so far have just been given an upgraded version of the XP program and have been told to get it to work!
I have to open up dependency walker to get it to show me the module tree of the DLLs...and it's not open in task manager... I assumed that would be sufficient to decide if it was enough, haha, or am I incredibly wrong?
Oh, I just tried doing the sfc /scannow thing again and it's finally working - I did just close a bunch of things, so it must have been one of those. What should I hope to get back from this scan when it's done?
Well now I know what we are talking about you can forget sfc /scnnow for the time being thought its a good idea to run it from time to time to keep your system running well. I think what you are trying to do is to re write some of the programming of this softawre. That is totally beyond me and I would say it is a job for the original author of the software, certainly not a job for the faint hearted.
Personally I have to say I wouldn't know where to start.
Okay, well thank you for attempting to help! Would you by any chance know of another user I could message who may be able to help me? This is a rather old piece of software, so I am afraid I may be stuck trying to fix it and have no way of contacting the original author unfortunately...
My System SpecsSystem Spec
19 Aug 2013   #10
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Here's a possible solution. Have you tried to install it in "Compatibility Mode" see here:
Make older programs run in this version of Windows
Another idea would be to set up VM Ware and install XP on a virtual PC. Then load your software on that. I have done this to use an older scanner that there are no drivers for Windows 7. Works well!
My System SpecsSystem Spec
Reply

 Deleting or replacing dlls on windows 7




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows 7 - Systray icons. Dlls?
Hello! As you know, systray icons in taskbar has dll's for each one. I know pnidui.dll is network, batmeter.dll battery, SndVolSSO.dll Sound, ActionCenter.dll Action center But I dont know which dll is for the Button to open minimed programs.. the arrow. Thanks an answer!
Themes and Styles
Does Windows Updates change DLLs?
One of my friends has a practice of changing the status of DLLs to "read-only" on Windows OS (7 and XP). He recommends doing this immediately after installation for security i.e. in order to prevent malware execution. Does that sound like a good idea, or do DLLs need stay writeable, in order...
Windows Updates & Activation
Can't Fix or Reinstall Windows 7 HomePrm; Missing DLLs
Upgraded from Vista HmPrm to Win7 HmPrm flawlessly. Weeks later a power loss when defrag'g left OS errors; tried to fix with Win7sp1.iso which made matters worse. Now pc will boot but missing dlls leave screen black; can only launch task mgr. Boot'g with iso does not allow Reinstall due to "dvd...
General Discussion
.dlls needed
Hi does anyone have the following .dll's they can upload for Win 7 x64 I would need the system32 and syswow64 .dlls all from a clean copy. It appears my backups have eluded me and I cannot locate them. :( I would highly appreciate it..Thanks Seth Imageres.dll Shell32.dll ...
Customization
August Windows Update corrupts dlls/netframe?
http://js.sevenforumscdn.com/images/styles/window7/reputation/reputation_green.gif Join Date: Aug 2011 Windows 7 Home Not So Premium 64 bit SP1 4 posts
Windows Updates & Activation
path used to search for DLLs? Install.exe can't find DLLs on DVD?
I just looked at my environment PATH setting, and the only thing that's there is the path to UltraEdit. I was trying to install new software from a DVD (setup.exe at the outer layer), and it could not find any of the DLLs that were located in folder on the same DVD. How do I set up...
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 15:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App