CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: DLL Viewing

  1. #1
    Join Date
    Jun 2004
    Posts
    3

    Question DLL Viewing

    PLEASE HELP ME!
    i have been looking for a DLL Viewer for a while now and got no where.
    can you please help me?
    by DLL Viewer i mean - i have file.dll and i want to view the code for its methods, events and basicly the whole dll so i can rewrite it.

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    Please do not cross post your question. Pick one forum that fits and post your question. Your other threads will be removed.

    Thank you.

  3. #3
    Join Date
    Jun 2002
    Posts
    395
    You can use the Dependancy Checker to view the imports and exports, and see what other dll's it is dependant on. This tool (depends.exe) is widely available from Microsoft, just search for it.

    There are other tools which will dump out the PE (portable executable) structures, including one here on CodeGuru called WinPE, but this information is not especially useful.

    Without the header files or API documentation, there is really no way to tell what the function arguments and return types are, and there is nothing to tell you what Windows events are handling either. For that tyou will need the source code, or spend a lot of time with Spy.

    There is no "code" in a dll, just a bunch of machine language instructions. You might be able to disassemble the dll into assembly language, but this is as close to the "code" as you will get.

  4. #4
    Join Date
    Jun 2004
    Posts
    3

    thanks wayside

    thank you very much.
    ---------------
    can you direct me to a good de-assemble tool?
    is there another tool where i can give the de-assembled code and get the vb or vc code, so maybe that way i can read the events etc.
    Last edited by nosti012; June 15th, 2004 at 04:07 PM.

  5. #5
    Join Date
    Jun 2002
    Posts
    395
    I never used a disassembler so I can't recommend one, google around I'm sure you'll find one.

    I never heard of any tool which can convert assembly back into c or c++, I don't think it is possible.

  6. #6
    Join Date
    Jun 2004
    Posts
    3

    Thumbs up well..

    thanks anyway.
    if i will fnd it, and i want to believe i will, i'll be sure to send it to you.
    10x again

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured