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!

*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.

Jobs

Can Anyone "ReFox" my .FXP

Can Anyone "ReFox" my .FXP

(OP)
All of our source code is gone, the invoices are due out, we cannot determine why a key file is generating an error 15.

The error message is generated on line 164

Can anyone help me by de-compiling the attached 8k .FXP ???

I would greatly appreciate your assistance.

Thanks.
Jeff

JSteff
Virginia

RE: Can Anyone "ReFox" my .FXP

While we are sympathetic to your problem, there are LEGAL considerations to be taken into account when considering decompilation of an application.

Since you do not seem to have the actual Source code files (PRG, SCX, etc. files), we have to question if you actually own the Source code and/or the Rights to the Source code for the application.

Perhaps, knowingly or not, you only purchased the rights to Run the application code that was developed elsewhere.

If you do not own the Source code, we, as developers ourselves who don't want to see OUR own applications 'hacked', are reluctant to consider assisting your 'Hack' of the code that you might not have sufficient Legal Rights to.

Have you contacted the developers of the application?

Alternatively, since this seems to be an OLD version of Foxpro code (FoxPro 2.6 for Windows), you might want to consider completely re-developing it from scratch in a current version of Visual Foxpro 9 or some other language - thereby ensuring that you indeed Own the Source code as well as the ability to Run it.

Good Luck,
JRB-Bldr

RE: Can Anyone "ReFox" my .FXP

(OP)
Thanks for the insight. I am not trying to hack anything, don't want to rip anyone off, the company that wrote the code 20+ years ago is long gone, there are no updates, I just got here. I am just trying to determine what table or index is being referenced on one line of code in a library of 600 programs. Once we get over this hump, we can start looking for an app to replace this one.

thanks.

JSteff
Virginia

RE: Can Anyone "ReFox" my .FXP

Perhaps someone will come forward and offer to do the ReFox for you.
But if they do not you can always purchase your own copy at: http://www.refox.net/

It is not cheap, but we had to 'bite the bullet' at one time.
Besides if this is a BUSINESS CRITICAL need, then businesses (large or small) should:
1. Honestly recognize the IMPORTANCE of the need.
2. Have funds within their budget (or the ability to come up with them) to handle the unexpected, but IMPORTANT things.

Good Luck,
JRB-Bldr


RE: Can Anyone "ReFox" my .FXP

Does your application log errors? If so, then the log should tell you what you need to know without decompiling. Look for a file name with a DBF extension and a name that suggests errors.

Tamar

RE: Can Anyone "ReFox" my .FXP

Jeff, there are several tables involved. I assume those with "CT" will be "Code Tables" these are usually small tables that have configuration (data drive) information in them.

The ones I see in your .FXP are:

Code Tables
CTIUSE
CTMAST
CTTRANS
CTTYPE
CTINCO

Data Tables
ARMAKE
ARCUST
ARKEYW
ARTAXT
ARADRS

TAXTYPE

There is an error routine called zErrortrap which captures line, program and the error, but not clear where (if anywhere) it is getting saved.

Also, there are some file paths that may be at issue:
C:\SVDBF\
V:\SV2CODE\

Now, you're looking at Refox, but that may not be needed.
I see a reference to:
V:\SV2CODE\CT1SETUP.FXP
but also
V:\SV2CODE\CT1SETUPl.PRG

If that .PRG file is in that directory, it should be the source for the .FXP you're trying to unravel.


Best Regards,
Scott
ATS, CDCE, CTIA, CTDC

"Everything should be made as simple as possible, and no simpler."hammer

RE: Can Anyone "ReFox" my .FXP

If the problem is a corrupt DBF table, you can search the web to find one of the free DBF repair tools.
Then you can:
1. First make copies of ALL of your DBF tables as a backup
2. Run the Fix tool on each one and then test your application to see if it is fixed.

Good Luck,
JRB-Bldr

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!

Resources

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