Does anybody know of a file to open .DLL's?

palad

Golden Member
Jul 18, 2000
1,586
0
0
I'm looking for a utility that will open .dll files for viewing/editing. Something simple. What made me think of it was that our proxy was down for a few minutes, and I got that wonderful 'The page cannot be displayed' message. If you reload the page after that, and if it is still unavailable, it lists the source in the title bar as c:\windows\system\shdoclc.dll/dnserror.htm. How can I edit this .dll file and, more specifically, get to the embedded .htm file?
 
Nov 7, 2000
16,403
3
81
I dont know about modifying dll's but i do know microsoft iis will let you modify your own error pages (ie 404).
 

chiwawa626

Lifer
Aug 15, 2000
12,013
0
0
I dont think you can edit dlls like that, well atleast not very good...dlls are compiled files, im pretty sure u wont just find that url inside the dll...
 

Mapidus

Senior member
Jun 9, 2001
457
0
0
I don't think you really want to be messing with editing .dll files. These are normaly dynamically linked and loaded executables, so editing them is a little bit more than just typing in stuff to replace what is there. Generally if you edit any code that will be executed, you need to keep the size the same or you will get segment faults and other things when executing the code.

If you still want to do editing of the .DLL file, don't touch anything that does not look like text because it is likely executable code. Open the file with a hex editor and find the place where the data code that contains the .html stuff is. If you find it and for every character that is present, replace it with something else, then you should be fine. If there are extra characters, you will need to leave spaces in their place to keep the size the same and you usually can't add extra characters without more experience on how to modify other areas of the .DLL.
 

palad

Golden Member
Jul 18, 2000
1,586
0
0
Cool, thanks for the replies, I guess it's more trouble than it's worth. Oh well...