×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

recompiling old fxp files
2

recompiling old fxp files

recompiling old fxp files

(OP)
Greetings all,
i've stumble in here due had some problems in old software in our office.
the program were compiled in foxpro, yet due lost of logs or manual, we can't configure to retracing nor forked it into another language program due there's no knowledge of it. as far as we know; the x.fxp were used to join several text files into one compiled data before being sorted out into several dbf files. any idea ?

RE: recompiling old fxp files

I'm not surely I completely understand what you are asking, especially the bit about "can't configure to retracing nor forked it into another language". Doesn't make sense to me.

If you are asking how you can modify an existing Foxpro application, and given that you have no Foxpro expertise in your firm, you will almost certainly need to find an experienced Foxpro developer who can do the job for you. But even when you have found such a person, he or she will need the application's source code. If you only have FXP files, you are out luck, as these are compiled program files, which cannot be directly modified.

It is possible that a Foxpro programmer could use a utility to recover the source code from the FXPs, but this is rarely successful as the resulting code is not likely to provide all the information needed to modify the application.

If I have misunderstood your question, perhaps you could re-phrase it in English.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: recompiling old fxp files

Joe,

Do I understand it correctly that you do not have the exe file, but you call x.fxp from the FoxPro command window? If so, what is the FoxPro version installed?

Yuri

RE: recompiling old fxp files

Joe,
What is it you still have? A working program? What are the files?
What is it you want? To adjust that program? To start in a new language?
Rgds,
Koen

RE: recompiling old fxp files

Joe, are you still here? You have received several replies. Can we have some feedback from you please.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: recompiling old fxp files

(OP)
sorry for late reply;
had to relocate several times towards another branch office due lack of manpower.

Quote (Mike Lewis )

I'm not surely I completely understand what you are asking, especially the bit about "can't configure to retracing nor forked it into another language". Doesn't make sense to me.

the application was written in foxpro along with some manual data grabber of compiling data. due non existing manual book of how this gmob.fxp were worked; management had issue replacement the Old Supplier attendance machine into the newest product that HR Dept. recommend.

#Some Background Story:
The old supplier had some inside programs that compile the data in the attendance machine [db.txt based] into dbhand.dbf.
for some department guys whose mobile a lot in several branch office; the old HR crew had this foxpro files [gmob.fxp] to recompile several list of branch attendance files with the list of mobile crew id into mobrec.dbf ; had several syntax later to modified the date into specific payroll date of period in current month; before re inject that dbf into main office dbhand.dbf.
recompile the main data [a zip file with several db.txt based] from each machine (new and old) were completely done in new programs (we've use python to recompile that bunch txt files into maria db files). yet this recompile list of mobile id with several branch attendance db.txt files were still in that application.
we're trying several method like asking the old user how it should happen before, no one knows; or the crazy part; we've try to decompile that gmob.fxp yet it won't budge. only had several gibberish text.

Quote (rubinov)

Do I understand it correctly that you do not have the exe file, but you call x.fxp from the FoxPro command window? If so, what is the FoxPro version installed?
yes; we've call the program inside foxpro command windows; if I'm not wrong; Foxpro version 2.5

Quote (Koen Piller)

Joe,
What is it you still have? A working program? What are the files?
  • Old Manual how to use the *.fxp and modify the value accordingly

  • 2 fxp files
  • gmob.fxp
  • rpmob.fxp

  • Several assorted files:
  • mobile.dbf
  • mobrec.dbf
  • idwrk.dbf
  • tempdb.dbf
  • idbrch.dbf
  • x.dbf
  • a.idx
  • mobile.idx
  • idemp.idx
  • p.idx
  • v.idx
  • x.idx
  • y.idx
  • z.idx
  • idbrch.idx


  • Quote (Koen Piller)

    What is it you want? To adjust that program? To start in a new language?
    Rgds,
    Koen
    we try to simplify the list from doing the fxp; remodelling the table via modi stru command; recompile the data that already being sorted into specific period into 1 single file of exe. so there's no more trial and error in foxpro command.
    [#HR in main office still refuse for using another program that simplify their works] m(-_-)m

    RE: recompiling old fxp files

    Joe,
    To get the FoxPro version, type in the FoxPro command window:
    ?version()
    Please, let me know what you see then in the FoxPro screen.

    If you do not have the original code prg files (from which fxp files were compiled), then your only option is to decompile fxp files.
    There are decompile tools available (search the intenet), but they may not work if fxp file is encoded somehow.

    Yuri

    RE: recompiling old fxp files

    Quote:

    There are decompile tools available (search the intenet), but they may not work if fxp file is encoded somehow.

    That's correct, Yuri. The COMPILE command has an ENCRYPT option which prevents decompilation.

    But even if he could decompile the files, it's not particularly easy to use the recovered code to make changes to the application, especially as Joe said that they have no FoxPro expertise (at least, I think that's what he said). That's why I suggested he looks for an experienced programmer to do the job.

    Mike

    __________________________________
    Mike Lewis (Edinburgh, Scotland)

    Visual FoxPro articles, tips and downloads

    RE: recompiling old fxp files

    (OP)

    Quote (Mike Gagnon)

    Can you attach the gmob.fxp here in a reply
    Here it is, the original were lost yesterday due old virus [diehard.exe] [-_-!] thank god we've still had a backup
    https://files.engineering.com/getfile.aspx?folder=...

    hope you could decompile it into readable code :)

    Quote (rubinov)


    Joe,
    To get the FoxPro version, type in the FoxPro command window:
    ?version()
    Please, let me know what you see then in the FoxPro screen.

    If you do not have the original code prg files (from which fxp files were compiled), then your only option is to decompile fxp files.
    There are decompile tools available (search the intenet), but they may not work if fxp file is encoded somehow.

    Yuri
    https://files.engineering.com/getfile.aspx?folder=...

    Quote (Mike Lewis)


    That's correct, Yuri. The COMPILE command has an ENCRYPT option which prevents decompilation.

    But even if he could decompile the files, it's not particularly easy to use the recovered code to make changes to the application, especially as Joe said that they have no FoxPro expertise (at least, I think that's what he said). That's why I suggested he looks for an experienced programmer to do the job.

    as long as we've had the code or somehow knew how this gmob.fxp worked, we tried to simplify the process for the end user or forked it into python to merge with current development. Most of intern software were written in foxpro without documentation of how it should run nor passing knowledge towards end user, so we've been try to decode it and recreate using several senior end-user expertise m[-_-]m

    it's been hard to maintenance due 16bit intern programs and server runs in 64 linux or 32 bit windows XP in virtual box... [>.<]
    #the old developer just gone without trace nor already meet the maker [r.i.p] and any documentation prior the code were lost
    either in archive or already been shredder into pieces ...

    RE: recompiling old fxp files

    Joe,
    would you mind to upload also:

    mobile.dbf
    mobrec.dbf
    idwrk.dbf
    tempdb.dbf
    idbrch.dbf
    x.dbf
    xtrh.txt

    Koen

    RE: recompiling old fxp files

    (OP)

    Quote (cugmas)

    GABMOB.FXP --> GABMOB.PRG

    GABMOB.PRG as attachment...

    ;)

    Thanks a lot bud [^-^] 2thumbsup

    Now begins the hardest part; recompile it into 1 .exe files pipe

    RE: recompiling old fxp files

    (OP)
    Greetings all,
    We've been successfully recompile it into gmob.exe. right now, we've been able to forked it into another language to match new attendance machine required data sheets so we could replace the old one's in several branch office [depends on HR's budget tongue].

    thank you for your support 2thumbsup orientalbow

    Red Flag This Post

    Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

    Red Flag Submitted

    Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
    The Tek-Tips staff will check this out and take appropriate action.

    Reply To This Thread

    Posting in the Tek-Tips forums is a member-only feature.

    Click Here to join Tek-Tips and talk with other members! Already a Member? Login

    Close Box

    Join Tek-Tips® Today!

    Join your peers on the Internet's largest technical computer professional community.
    It's easy to join and it's free.

    Here's Why Members Love Tek-Tips Forums:

    Register now while it's still free!

    Already a member? Close this window and log in.

    Join Us             Close