Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rebuild application 1

Status
Not open for further replies.

ILStoykov

Programmer
Jun 26, 2005
3
BG
Hello everyone! I have a problem with an application written in Clipper 5.1. This program has been released many years ago and there is no track of the author at all. The problem is that this program is kind of an incash system still in use and it needs parameters to be changed (new standarts arrived). So at all I am not familiar with CLipper. I've heard of decompilers such as Rescue5 and Valkyirie, tried them, found what has to be changed, changed it ....................but now I don't know how to rebuild the application back. I've tried RMAKE but it gives me the code error 3011 (too many dependencies). I will apreciate any assistence on the subject, because I'm too young to be familiar with Clipper (20 years old), but my time is ticking away and I'm on my way to lose my job.
Thanking you in advance! ILStoykov
 
Try using blinker, version 7 is the best.

If you don't have blinker let me know.

n o c u r e A T h c c n e t D O T n l

Rob.
 
Quite sure Blinker won't solve the rmake problem over here.

Yo can try to put the output of the decompile into less sourcefiles, or, if it is 1 source with *lots* of #include's, try splitting the main source into a few smaller, so rmake can grasp the less big dependency-lists.

Another option is to add the commandline parameters /XS750, for 750 symbolnames instead of 500 (default), and/or /XW4096, for 4k Workspace instead of 2k, to rhe rmake line in the batchfile. It helped my scripts back to building my app :D

HTH
TonHu
 
Thanks TonHu - you see I have a lot of .UDT files produced durind the decompilation. Practictly, is it possible just to unite them into less files in then to try link them?
 
Well, that depends on the way the sources are built/generated, if they have a lot of machine-generated variables, that are named equal (var1, var2 etc.), then you can have a lot of trouble doing just that, but generally speaking, with Clipper code it should be not that hard to create larger sourcesfiles, with several functions and/or procedures defined. Just use copy/paste to put some together, try to compile, and just watch what comes, errors or succes, 50% chance :)

HTH
TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top