How can I edit .dll files?

This is a discussion on How can I edit .dll files? within the C++ Programming forums, part of the General Programming Boards category; A classmate of mine wrote an really advanced program for a final exam that includes .dll files. He said I ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    2

    How can I edit .dll files?

    A classmate of mine wrote an really advanced program for a final exam that includes .dll files. He said I could use some of the .dll files if I wanted in my program so I could get a better grade. I dont want to just take the files but if I could open them up I would like to learn how to make my own.

    My question: How can I view and edit .dll files?

    I use Bloodshed Dev/C++ for my C++ editing, but it cant open dll files for editing. What program can?

    Thanks a bunch!

  2. #2
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    huh? do you have the source code? A dll project is like other windows project but you'll see DllMain instead of WinMain. It sounds to me like you're saying you just have the binary.
    always looking, make an offer. get me out of this place.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    2
    Yes, I only have the .dll files themselves not the source/projects. Is it possible to use just the .dll file itself or should I ask him for the source?

  4. #4
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    i think you need a source files unles su find a program on download.com or something to turn it into a source file
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    ask him for the source
    always looking, make an offer. get me out of this place.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    you can use his dll's, if he tells you what functions and all that are in it.
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  7. #7
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    A DLL is just a place to put functions so that more than one program can use them. You can also put resources and stuff in them as well.

    Like he said, just ask for the functions and stuff that are in the DLL, then load up the DLL in your program, and you're good to go.

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    273

    Re: How can I edit .dll files?

    Originally posted by leskitten
    I dont want to just take the files but if I could open them up I would like to learn how to make my own.

    My question: How can I view and edit .dll files?

    I use Bloodshed Dev/C++ for my C++ editing, but it cant open dll files for editing. What program can?
    He was asking how to edit the dll, not use it.
    always looking, make an offer. get me out of this place.

  9. #9
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    A dll project is like other windows project but you'll see DllMain instead of WinMain.
    ask him for the source

  10. #10
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    How about either making your own dll. Or you could make a wrapper for his dll. A wrapper is always good for doing what you want since sometimes dll's were written my microsoft and they don't throw source code around. But keep in mind this would be editing a dll in any way. You would simply be changing the way it interfaces with your program.

    You can edit a dll though. I mean actually edit the binary. Dll's have an MZ header and I wouldn't be suprised if they are the same file format as an exe (it even has all the same data segments) so you could always edit the dll through a hex editor. But if you do this I hope you know what you are doing!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Working with muliple source files
    By Swarvy in forum C++ Programming
    Replies: 1
    Last Post: 10-02-2008, 08:36 AM
  2. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 02:47 AM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  4. Dos commands hehe
    By Carp in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-17-2003, 01:51 PM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 08:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21