Solved

Debugging / editing a dll

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 89
cmd.exe will not close when running .bat file to perform FTP upload 18 102
recursion example 16 126
T-SQL:  Sigh---Boy, this is fun.... 12 46
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

773 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