Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2004
    Posts
    42

    Unanswered: Is this possible? (Delphi)

    Hi,

    One of my clients has a program in delphi designed by a previous employee of our company. Now this pervious employee has now gone but along with him all programs.

    Is it possible to get the .exe compiled delphi program back into code so I can change a few bits? Im no expert in delphi but just need to add a couple of columns from the database.

    If this is possible id be most appreciative of any pointers or ways in completing such a task.

    Regards

    Jon

  2. #2
    Join Date
    Jan 2005
    Posts
    8

    Unhappy

    I think its not possible to get source code through compiled EXE file.

  3. #3
    Join Date
    Mar 2004
    Posts
    42
    I didn't think so. You have to ask in case somebody knows a way etc.

  4. #4
    Join Date
    Jan 2005
    Location
    Central Oregon
    Posts
    5

    bummer... I feel an ethics discussion coming on...

    that code belongs to the company... can you contact the former employee to see about recovering it????

    depending on how the data was formulated it 'MAY' (??? highly unlikely... but maybe) possible to alter it. If, for example, he kept a directory of queries used to formulate result sets for display there is a possibility that you could alter the sql content of the query file... or if by some chance he used a query or stored procedure on the server then that piece, potentially, could be altered and might alter the display in the exe... but only if he didn't define the 'fields' in the grid or table objects via the field editor... if he did then you're hosed.

    most likely he has got the query all wrapped up in the exe and there will be no altering it.... but you might get lucky... use extreme caution... if you break it it's game over.

    b

  5. #5
    Join Date
    Mar 2004
    Posts
    42
    The previous employee has disapeared off the face of the earth. If he was to be seen this program would be number 9999999 on this list of crap lol.

    Its delphi 7 is that helps at all. The program is on a client machine with the database on our server so its probably a big no no. Oh well.

    The only thing im really suck on is the reports, all the database interatction I can do in php etc.

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Some languages (and language families like .NET) make it easy to recover the source code from an executable. Delphi 7 is not one of those languages. It compiles down to real object code, which is fairly well optimized after it is generated, so getting source code back is pretty difficult.

    Is there any chance that backups of the source code are available anywhere? Could they be on old network backup tapes?

    -PatP

Posting Permissions

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