If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Is this possible? (Delphi)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-05, 04:12
jonrohan jonrohan is offline
Registered User
 
Join Date: Mar 2004
Posts: 42
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? I’m 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
Reply With Quote
  #2 (permalink)  
Old 01-26-05, 06:10
prajesh prajesh is offline
Registered User
 
Join Date: Jan 2005
Posts: 8
Unhappy

I think its not possible to get source code through compiled EXE file.
Reply With Quote
  #3 (permalink)  
Old 01-26-05, 06:30
jonrohan jonrohan is offline
Registered User
 
Join Date: Mar 2004
Posts: 42
I didn't think so. You have to ask in case somebody knows a way etc.
Reply With Quote
  #4 (permalink)  
Old 01-26-05, 12:20
betsyt betsyt is offline
Registered User
 
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
Reply With Quote
  #5 (permalink)  
Old 01-26-05, 15:12
jonrohan jonrohan is offline
Registered User
 
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.
Reply With Quote
  #6 (permalink)  
Old 01-26-05, 15:19
Pat Phelan Pat Phelan is online now
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On