Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I just wanted to say that you guys RULE, a million thank you's to whoever created, and/or manages this site. KEEP UP THE GOOD WORK..."

Geography

Where in the world do Tek-Tips members come from?
lacja (Programmer)
24 Apr 06 14:36
Hi,

first, I have no expertise in Clipper.
Second, I have to make a little modification in a very old clipper program.
Third, I not sure I have every thing I need to build it.

For now, I'm just trying to compile and link it but it fails.

I have to directory, one named CLIPPER and another named CLIPPER5. Each are different and contains, I believe, tools to help me.

When I try something like \CLIPPER\CLIPPER myprog.prg I obtain too many errors. Almost every "strange" character like (,//+= produce errors.

I have a RMK file. Is it suppose to help me?

Any help will be appreciate

Thanks
LyndonOHRC (Programmer)
24 Apr 06 16:30
If you have a .rmk file you should be in good shape.

Set your dos path to the folder where clipper.exe and rmake.exe are in the clipper5 folder tree.

See if there is a .bat file in the folder with your .rmk file, a lot of times programmers will design a bat file to set the complete dos enviroment. If you find a .bat file with several set clipper commands in it that is probably it. If there are  not any .bat, .exe or .com file calls in it I would run that. If you're not sure put the contents on here.

After the dos enviroment is set run rmake.exe with your .rmk file as a parameter. i.e.

rmake myrmake.rmk

If the rmk is well designed it should link\complie your application.

Lyndon


lacja (Programmer)
25 Apr 06 8:24
Thanks Lyndon,

I'm now able to compile and link.

I've also find a .BAT file with instructions like SET CLIPPER, SET LIB, SET INCLUDE

I think I have all I need to complete my tasks

Thanks again

P.S.: I can't do those steps in a dos window under NT. I had to put every thing on a DOS 6.2 machine and then it works.
LyndonOHRC (Programmer)
25 Apr 06 15:58
In your windows folder tree (probably \windows\system32) there are two files config.nt and autoexec.nt

They function as the autoexec.bat and config.sys for a dos virtual machine instance (a DOS window). You can try setting up some extended memory management there.

I use:
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=99

In config.nt
Note: files=99 is very important, it sets how many open file handles the DOS VM is allowed to have open. You'll need that set when compiling/linking and when the application is running. Also make sure you use the F parameter in your set clipper enviroment variable. Set Clipper = F99; Clipper 5.x has a default open file limit. I don't remember what it is though.

You can also use some switches for rmake:
try setting some reserved workspace for rmake to run in. i.e.

rmake menu.rmk /xw3072

Also try running rmake /? and it will define all switches.

Good luck
Lyndon

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!

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