Helpful Information
 
 
Category: Other Programming Languages
Compiling a .prg file...clipper I think

Hi,

I have some source code, clipper I think, that ends in .prg
I would like to make some changes to the .prg file so it doesn't require the users input to close the window when operations have been done...then I need to generate a .exe file from that .prg file somehow.

So far I have tried to use 'harbour' on linux but it seems to have added some libraries near the top of the c file that was generated, then when I compile this in dev-C++ (bloodshed compiler) I get errors.

I would like to know if there is a better way of getting an .exe from a .prg :(
Does anyone have any ideas on this one at all?

Bhutz,

I know it's been a long time since you posted this, but in case you still need this, here goes.

A PRG file may be Clipper or it may be any other dialect derived from dBase III. These are collectively known as xBase, and it includes FoxPro, aka VFP.

If you do have a Clipper PRG, you should be able to compile it with Harbour without any problem - providing it was compiled with Clipper version 5.x, as most Clipper apps were.

Harbour itself has splintered off into numerous dialects, so if it is a Harbour PRG, you would have to identify which dialect of Harbour it belongs to.

I'm well experienced with Clipper and Harbour, and I've used old versions of FoxPro, so if you want to post or email me your PRG, I'll be happy to diagnose it and compile it if I can.

One question. You say you want an EXE but if so why are you trying to use a Linux based Harbour? You would need a Windows based Harbour. There is a DOS Harbour too but it is little used. Harbour supports a number of C compilers, but I don't remember Bloodshed being one of them.

Kevin


Hi,

I have some source code, clipper I think, that ends in .prg
I would like to make some changes to the .prg file so it doesn't require the users input to close the window when operations have been done...then I need to generate a .exe file from that .prg file somehow.

So far I have tried to use 'harbour' on linux but it seems to have added some libraries near the top of the c file that was generated, then when I compile this in dev-C++ (bloodshed compiler) I get errors.

I would like to know if there is a better way of getting an .exe from a .prg :(
Does anyone have any ideas on this one at all?










privacy (GDPR)