Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to load file Posted by kcnz on 11 Jul 2005 at 5:40 PM
I have a program that was written in Delphi although I myself am not very familiar with it. I do most of my programming in c# now. But anyway, I need to be able to get into the files that this program saves in order to create a program that coinsides with it. How do you figure out how they saved the information so I can write code in c# and possibly modify it and resave it. Whatever they used, it wasn't very secure because if you open a binary editor on the file (you can password protect the files), the password is right at the top, not encryipted.

Thanks for any help

Casey
Report
Re: How to load file Posted by zibadian on 12 Jul 2005 at 1:12 AM
: I have a program that was written in Delphi although I myself am not very familiar with it. I do most of my programming in c# now. But anyway, I need to be able to get into the files that this program saves in order to create a program that coinsides with it. How do you figure out how they saved the information so I can write code in c# and possibly modify it and resave it. Whatever they used, it wasn't very secure because if you open a binary editor on the file (you can password protect the files), the password is right at the top, not encryipted.
:
: Thanks for any help
:
: Casey
:
If you have the source code, look for the write/read routines. These can be found by looking for AssignFile(), LoadFrom, Read(), Write(). The encryption routine will probably be close to those routines.
If you don't have the source, then the only way to determine the format is to compare the data which the program gives/asks and the binary data file.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.