View Full Version : How To Edit A .dll File
03-04-2007, 11:59 AM
I am trying to look into a .dll file as I have been lumped with a site which uses ASP .NET to connect to a MySQL database, and I need to see the datasource files, anyone have any idea?
Unfortunately, DLLs are compiled and not human-readable in the slightest. You can try to decompile (http://www.program-transformation.org/Transform/DotNetDecompilers) it.
03-04-2007, 01:24 PM
Hi Twey, So I'm kind of screwed then, basically I am trying to edit a .ASP page, and I can see the calls in there to the MySQL database, but noticed they weren't 100% the same so I am assuming this is all in the .dll file? Do you know if this is correct? So the only way to get this page working is to spend money getting a .dll compiler?
03-04-2007, 01:30 PM
Not sure if you can give me advice on this at all, but these are the files that are in a folder which I think the page uses:
It would be the last two I'd need to edit hey?
Some of those are free.
As for your second question, I've absolutely no idea :) The MySql.Data.* files do look more hopeful though. I still think you should write the whole thing from scratch.
03-04-2007, 01:45 PM
I agree with you there Twey, I am actually thinking of doing it all in PHP do you think that's stupid? Or when you said from scratch did you just mean trya dn create the .dll file from scratch?
No, I meant the whole ASPX part of the site.
03-04-2007, 01:56 PM
Do you think there is anything PHP couldn't do over ASPX?
No, as a Turing-complete language it can do anything ASPX can do, although possibly with more or less effort.
03-05-2007, 01:48 PM
Well, Bloodshed Dev-C++ has a system that lets you write DLL files, but I don't know if it will let you decompile them. It's worth a try, though.
We're talking about CIL DLLs here, not native PEs.
03-19-2007, 08:01 PM
Unfortunately, DLLs are compiled and not human-readable in the slightest.
Unless you are fluent in reading squares. :)
03-20-2007, 06:41 AM
You can use some windows disassemblers to reverse engineer the dll files. Though you should have some thorough knowledge and experience in Assembly language.
Though you should have some thorough knowledge and experience in Assembly language.I'll repeat: we're talking about CIL DLLs here, not native PEs.
04-04-2007, 07:38 PM
What exactly is the difference between CIL DLLs and PE DLLs?
The PE (Portable Executable) format, based on COFF, is the native executable format of Windows, and is run directly by the kernel. The CIL (Common Intermediate Language) is an interpreted bytecode, much like Java, and is run by a VM such as Mono or the Microsoft .NET Framework.
04-16-2007, 03:54 AM
You can unless you have the original source files. DLL's have been compiled.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.