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

help with Clipper

help with Clipper

(OP)
Hi - I am new to Clipper & trying to compile into an .exe file
- it a old program from 1995 I need to make changes to
- Clipper will compile & the documentation says to use Blinker next - possibly using a .LNK file
- does not work & I am not sure what to do next
- any suggestions

thanks

Doug
_________________________________________________________

H:\DATA\PLANT2\CLIPPER5>clipper datawork /n /w /b
Clipper (R) 5.2c
Copyright (c) 1985-1993, Computer Associates International, Inc.
Microsoft C Floating Point Support Routines
Copyright (c) Microsoft Corp 1984-1987.  All Rights Reserved.
295K available
Compiling DATAWORK.PRG
Code size 22755, Symbols 5008, Constants 11629

H:\DATA\PLANT2\CLIPPER5>blinker file datawork /b
 __   __
(«») («»)      BLINKER Dynamic Overlay / Windows Linker 3.01
    ⌂                        + DOS Extender
   ___                 Blink and you'll miss it !!

Copyright (c) Assembler Software Manufacturers, Inc. 1990-94
All Rights Reserved. Serial # BR-046291. Fax (804) 747-4200.

BLINKER : overlay opsize set to 40kb - minimum is 27kb ($$$SWPKRN)

BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWCLOSECOM' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWOPENCOM' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWSETUART' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'ERRORSAVER' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWTXSTRING' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWWAIT' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWFLUSHRX' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWRXEMPTY' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'SWRXCHAR' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'CONNS' : unresolved external
BLINKER : 1115 : DATAWORK.OBJ(DATAWORK) : 'N_SERVER' : unresolved external

BLINKER : 0 Warning error(s), 11 Fatal error(s)

DATAWORK.EXE (not created) (0.5 seconds)

 

RE: help with Clipper

Hi

I think you may be missing a library or two... that's what the unresolved external references usually mean. I'm guessing that there is supposed to be either a third party library linked in or there is an additional .obj file you need - can you see a .lnk file?

If so, can you post the contents?

 

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

RE: help with Clipper

(OP)
Hi Griff - I run this bat file first - which seems to have everything I need
- the compile does not create a .LNK file
- also - is there supposed to be a .OBJ file for each of the external references

Doug
_________________________________________________________

@ECHO
SET INCLUDE=H:\DATA\PLANT2\CLIPPER5\INCLUDE;
SET LIB=H:\DATA\PLANT2\CLIPPER5\LIB;
SET OBJ=H:\DATA\PLANT2\CLIPPER5\OBJ;
SET PLL=H:\DATA\PLANT2\CLIPPER5\PLL;
SET CLIPPERCMD=/n /w /a /p /b
@ECHO Setting Path
PATH=H:\DATA\PLANT2\CLIPPER5\BIN;%path%;
SET DIRCMD=
DOSKEY /INSERT

RE: help with Clipper

"the compile does not create a .LNK file " It will not.

He's asking you to look in the folder where datawork.prg is for any .lnk files. If there is one post its contents.
 

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

RE: help with Clipper

One of the problems with the old .lnk files, is that Windows calls them Shortcut when viewed from Windows Exploder. You'd have to be using a DOS prompt to actually recognize the true beauty of a .lnk file... winky smile
Not much Windows Editors allow you to open one of these files as an ascii file, as we where used to, way back then. Best would be to rename to .lin or .blk, and feed the files to the linker with the extension added, they usually obey your commands then, and the file is easily editable.

Ofcourse there are some missing libraries, as pointed out before.
N_SERVER I could trace back to NETLIB.LIB, by Communication Horizons, and the Norton Guide that comes with my copy is dated around 1991. To all the rest I couldn't find any reference in my collection of Guides. Guessing by the names it must be some kind of communications lib, but the names so totally not showing up at google, makes me think it could be an in-house developed (wrapper)lib around another more commonly used lib, or it can even be totally self-developed. No more clues here, sorry.

HTH
TonHu

RE: help with Clipper

TonHu and Lyndon are both correct.

I can't find any reference on 'net to the functions that are unresolved... I would guess they are a communications library as TonHu thinks.

I was going to ask if there were any files of type blah blah, but then thought - can you post a directory listing for the folder in question? so we can all chip in with comments on anything we recognise?

Alternatively, if you want to go offline - find me via my web site at finedata dot com - I'll happily help if I can.

Martin

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

RE: help with Clipper

(OP)
Hi - the following is datawork.lnk I finally found - sorry for the delay

Doug

____________________________________________________________

#THIS PROGRAM CAN NOT BE ANYTHING BUT REAL MODE
BLINKER EXECUTABLE real
BLINKER INCREMENTAL OFF

OUTPUT DATAWORK

FILE DATAWORK
FILE SHAR_ERR

Lib SLVRCLIP.LIB
Lib novlib

# 09/03/98 RS - Due to numerous "Processor stack fault" crashes, I've
# increased the stack space the program uses from the default of 5120 B
# to 16 kB (16384 B)

STACK 16384
 

RE: help with Clipper

Hi

The keys are here:

CODE

FILE SHAR_ERR

Lib SLVRCLIP.LIB
Lib novlib

You only seem to be compiling DATAWORK.prg to make DATAWORL.obj, but you need to locate SHAR_ERR.obj as well (it should probably be in the same folder).

Also you need to locate two commercial library files - I think the first was called SILVER or some such, the file name is just SLVRCLIP.LIB and the other is probably a Novell Netware support program (again I think) called novlib.lib.

With these you can link the object files and libraries to make your executable using a command like this:

CODE

blinker @datawork.lnk

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

RE: help with Clipper

(OP)
super - thanks to everyone who helped
bye for now
Doug

RE: help with Clipper

Happy to help, let us know how you get on.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

RE: help with Clipper

(OP)
Hello again everyone - thanks again for the help with Clipper


I have a new question - one of my old clipper programs uses an old .RP1 file (report file). I need to make a change to it - I can use R&R to see and to change it - but I can not save it correctly - I get a message - R&R no longer supports rewriting a report into a library file

Is the a old & free program out there that can make a minor change to a RP1 file

thanks again

Doug

RE: help with Clipper

I have some old versions of R&R, What version are you using?

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

RE: help with Clipper

(OP)
we have versions 8.0, 8.1 & 11

RE: help with Clipper

(OP)
I guess what I am looking for R&R Report Writer 6.5 for Windows - does anyone know where I can download this for a test

thanks

Doug

RE: help with Clipper

I've been on the road. I can check my versions tomorrow.

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

RE: help with Clipper

Sorry, my version of R&R is for DOS. Pre windows; I wonder if the 5 /12' diskettes even work...

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

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