Question:
Hello, I need some help about this. Which program do I need to edit .dll files?
Breaker
2007-01-31 01:57:05 UTC
For example if a programs language file is smthng.dll, what should I do to translate it? or which program do I need to edit it?

Thank you very much
Four answers:
cipher
2007-01-31 02:47:48 UTC
.dll files are not meant to be edited. however, it donesn't mean you can't do it.

the ease or difficulty of doing it depends on:

- what language it was developed in and

- what exactly do you want to edit



- if the .dll file is a dot net assembly then it's relatively easy.

All you need is a good dot net disassembler (you can find a lot of these. try google). And ya, you should have knowledge about programming language supporting dot net.

- if you just want to change images or icons in it, or strings or text in it, etc. etc. then i recommend using PE Explorer (not free), or Resource Hacker (free). Note: these might not work with dot net dlls (assemblies)

- if the dll file you're talking about is not a dot net assembly, then most likely it's developed in C or C++. this means trouble. to edit (or reverse engineer) these dlls you need good knowledge of 32bit assembly language and win32 API. You need good disassembler and a good debugger. Unless you're an expert in win32 programming i don't recommend trying this.



Best of luck!
Balk
2007-01-31 02:13:56 UTC
What do you want to edit a .dll file for?

Are you talking about extracting resources from a .dll file like embedded icons? There are Windows resource editors for that. Just Google search for them.



If you wish to change some of the bytes in a .dll file and you know which bytes you want to change, you can use a program called a Hex Editor (Google search for one). Hex Editors open any file and displays the bytes which make up the file.



If you want to change PROGRAM CODE in a .dll file, you need the following:

1) Knowledge of Assembly Language

2) Knowledge of Windows API function calls and how Windows programs are organized.

3) You need to have a disassembler/debugger program like Smidgeonsoft's PE Browse (It's free on Smidgeonsoft's web site).



Patching .dll code is tricky, especially if the code you wish to insert is larger than the code you're overwriting.
2007-01-31 02:03:10 UTC
You cannot edit DLL files, they are compiled program libraries.
Carl P
2007-01-31 02:06:46 UTC
.dll are dynamic link libraries a compiled program to assit other programs in running. You would need a de-compiler to open it and that would be iffy, depends what code it was written in.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...