Deleting or replacing dlls on windows 7

ftlog

New member
Local time
9:23 PM
Messages
8
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.
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
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 Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
When you say
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 Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
When you say
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
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 Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
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 Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
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 Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
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!
Thank you for the suggestions! I shall have a look into them and hopefully they'll help!
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
I went down the virtual machine route as i had the scanner and an old Desk Top publishing softawre that was built for Windows 95 which I didn't even bother to try in compatibility mode as others had tried and failed. Works perfectly in my Win XP on the virtual machine though. Happy to give you a run down on VM if you wish! If your software worked in Win XP before I am 99.9% certain it will work as is on the Virtual Machine with XP installed!
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
I went down the virtual machine route as i had the scanner and an old Desk Top publishing softawre that was built for Windows 95 which I didn't even bother to try in compatibility mode as others had tried and failed. Works perfectly in my Win XP on the virtual machine though. Happy to give you a run down on VM if you wish! If your software worked in Win XP before I am 99.9% certain it will work as is on the Virtual Machine with XP installed!
If I get it running on a virtual machine with XP, how will I be able to use this to get it to run on windows 7 though? Sorry if I'm just not understanding properly!
Also, I tried compatibilty mode on windows 7 and the program wasn't listed. I couldn't find the shortcut for it when I tried to browse...hmm...
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
Off out now for a couple of hours. Will answer in full on return!
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Professional 64bit
I went down the virtual machine route as i had the scanner and an old Desk Top publishing softawre that was built for Windows 95 which I didn't even bother to try in compatibility mode as others had tried and failed. Works perfectly in my Win XP on the virtual machine though. Happy to give you a run down on VM if you wish! If your software worked in Win XP before I am 99.9% certain it will work as is on the Virtual Machine with XP installed!
If I get it running on a virtual machine with XP, how will I be able to use this to get it to run on windows 7 though?
You won't be able to run this software on Windows 7. It is not compatible. Just use it on the Win XP setup as you have before. It really is no different to running your old PC with Win XP. It mighht help if we knew roughly what this software does. Does it produce a document, a drawing, an image or what? What do you do with the end result, send it to someone else or what?
I tried compatibilty mode on windows 7 and the program wasn't listed. I couldn't find the shortcut for it when I tried to browse...hmm...
I would stick with the Virtual Machine route then!
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8H77-M
Memory
8.00 GB
Graphics Card(s)
Intel(R) HD Graphics 4000
Sound Card
On Board
Monitor(s) Displays
Dell 24"
Screen Resolution
1920 x 1080
Hard Drives
(1) INTEL SSDSC2CT180A3 ATA Device (2) ST500DM002-1BD142 ATA Device (3) WDC WD3200AAKS-75L9A0 ATA Device (4) Generic- Compact Flash USB Device (5) Generic- MS/MS-Pro USB Device (6) Generic- SD/MMC USB Device (7) Generic- SM/xD-Picture USB
PSU
500w Corsair
Case
Cooler Master
Cooling
3 Fans
Keyboard
Logitech MK300
Mouse
Logitech WOM
Internet Speed
75Mb
Antivirus
Norton 360
Browser
Firefox, Opera, IE
I would not suggest placing a DLL from an XP edition of windows into a Windows seven set up. Well simply just check out which is working. how could you possibly know that the DLL is not working properly.

virtual marketing
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
OS
Windows
Back
Top