+ Reply to Thread
Results 1 to 5 of 5

Thread: Reading a dll

  1. #1
    Junior Member VBAHole22's Avatar
    Join Date
    Aug 2002
    Location
    Richmond, VA
    Posts
    17

    Reading a dll

    Is there a way to view the code behind a .dll that someone distributes? I have a very usefull .dll that I would like to modify but don't know how to get at the code sos I can change it and make a new dll. Any hints?

  2. #2
    Member Quandary's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Um, a *distributed* DLL usually doesn't have code with it, and usually isn't a debug build.

    That's kind of what makes it a distributed release.

    If any old twit could go and look at the code in any DLL that anyone distributed, then, well... pretty much all of windows would be 'open source'

    What you can do is get a dump on a DLLs exported functions. If you have Visual C++, go to your VC directory, and then to the BIN subdirectory. There should be a command line program called dumpbin.exe - run this program (with whatever switches you need) and you may be able to get a list of commands that are inside of the DLL.

    Unfortunately, you don't know what *parameters* the commands take, but that is another problem.


    As far as 'modding' goes - good luck. Unless you are willing to dirty your hands with a whole bunch of assembler hacking, you are not going to me making any tweaks to that DLL anytime soon.


    - Quandary

  3. #3
    Ultimate Member DocEvi1's Avatar
    Join Date
    Dec 2001
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,330
    Depends on what you want. A great little prog called "Resource Hacker" allows you to view all the bmp's, icons.......menu system's from dll's and .exe's

    I use it to remove splash screen's - works wonders with ZoneAlarm

    Stefan
    Stefan

  4. #4
    Banned qball's Avatar
    Join Date
    Oct 1999
    Location
    Rockaway, NJ 07866
    Posts
    1,730
    good answers...

    *distributed* DLL
    What's that a 'DDLL', lol, lol. That makes as much sense as a +distributed text file+, lol, lol.

    Are you thinking of decompiler? Some exist, but not very good.

    DocEvi1,

    DLL's contain many 'resources' for lack of better word. Some could include code.bmp which shows all code to create DLL.

    Unlikely, but possible.

    [?]
    How does one replace an 'existing' DLL?
    [/?]

    [!]
    Distribute a new one!?
    [/!]

    Sorry, Quandary, I understand now...

  5. #5
    Ultimate Member DocEvi1's Avatar
    Join Date
    Dec 2001
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,330
    sorry never actually used to to look at .dll's just .exe's....it does work in the same manner tho, allows you to see the resources not the coding.

    With .exe's it does allow the viewing of some code, although the code you see makes little sense to me

    Stefan
    Stefan

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke