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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert dBase III .PRG to .EXE

Status
Not open for further replies.

Irwinn

Technical User
Sep 13, 2002
1
ID
I have some programs I wrote in dBase III Plus several years ago and now I want to convert it into sel executed .EXE files.

How can I do this? I've heard that I must use Clipper but I don't know how to use it.

Please help me and give me guidance of it.
Thanks for your assistance, I really appreciate it.

Best regards,
Irwin Novianto
 
Read the documentation that comes with Clipper. It'll tell you how to compile your programs. You may have a problem if you have an old version of Clipper and a new version of Windows. You'll need a program called link.com that came with old versions of DOS to process the object files into a single executable.

I use Quicksilver to compile my .prg files and it's pretty simple. You create a small .txt file of the .prg files you want included in your executable and then run a couple of commands from the dos prompt and the executable is created.

Remember that you can't compile your data tables - they have to remain seperate.

Good luck! There's always a better way...
 
The answer depends on the version of clipper you have. Not all dBase commands are clipper compatible, but most are.

If you have a path set to your clipper directory, in most cases you simply type &quot;cl <FILENAME>&quot;, without the quotes or brackets. CL is a batch file included with the clipper program, filename is the name of your prg file, without the extension. IE &quot;cl totals&quot; would compile a totals.prg file into a totals.exe file, so long as there were no errors.

Best of luck....
 
You don't have to use a Clipper program, but you can do it easly with dBase 5 for DOS. This also works under Windows XP but then you can only reach 2 gigabytes of diskspace
This version can you buy for a low price on computer stores on a big markt about 50 euro with license.

Greetings from Holland
Soundmix Show
 
Hi

I have a dbase 2.0 compiler which has worked for me in the past. You could try borland or the new dbase site (sorry can't remember the web address.

I think dbase IV was the first release of dbase to have a compiler, so if you got your hands on one, I'm sure there would be no re-programming of code.

Good luck

Ormsk andyorm@madhousenet.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top