Solved

Debugging / editing a dll

Posted on 2004-09-09
3
292 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mapAB Challlenge 35 127
White board coding practice 3 80
Scripting vs. Programming languages 25 152
i am cortana ask me anything 5 29
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This is about my first experience with programming Arduino.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now