Solved

Debugging / editing a dll

Posted on 2004-09-09
3
295 Views
Last Modified: 2013-11-13
I have a dll that goes to a specific site for updates. I would like it not to go out to the site and more and check for updates. To do this I want to change one letter in the URL it is looking for. I have found the area in the Code by using PE Explorer from Heaventools, but cannot seem to change just the one letter.

Can the DLL be edited, or do I have to recomplie it ??

If it can what tool can I use ?? and how to change
0
Comment
Question by:911bob
3 Comments
 
LVL 19

Accepted Solution

by:
RanjeetRain earned 500 total points
ID: 12017018
If you have the source code, you can simply change the necessary constant/variable and recompile. If you don't, you may have to decompile and then recompile with the changed constant/variable value.

Many decompilers are available. But most of them produce assembly code. But there are some decompilers that can produce equivalent C code too. YOu may want to look at them.

For changing just one character, using a good hex editor can be a quick hack. But this requires a very good understanding of binary data representation methods.
0
 
LVL 3

Expert Comment

by:aravindtj
ID: 12017628
Hi,
 If the driver/ dll file is make in "Checked" mode, you can et the debugging messag using Kernal debugging tools like WinDbg etc. It is available along with DDK tool kit.
 
0
 
LVL 22

Expert Comment

by:cookre
ID: 12017858
My favorite Windows hex editor:
http://www.hexpertsystems.com/hexpert.html
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question