What is the difference between Harbour, XHarbour, Harbour IDE, and Harbour MiniGUI (HMG)?

2,620 views
Skip to first unread message

DwigtArmyOfChampions

unread,
May 23, 2015, 12:52:36 PM5/23/15
to harbou...@googlegroups.com
I have a bunch of old CA Clipper .PRG files. They are all DOS-based and not graphical. I am on Windows 7 64-bit and I want to compile these programs. What exactly do I need? Do I only need Harbour to compile it?

I assume I can do either of the following:

* Install Harbour and use a simple text editor like GVim to edit the Clipper code.
* Install Harbour and Harbour IDE so I can edit the Clipper code in Harbour IDE.
* Install Harbour and Harbour MiniGUI and edit the Clipper code in Harbour MiniGUI.

Am I correct that Harbour IDE and Harbour MiniGUI basically do the same thing? If so, what is the difference between the two?

Marek Horodyski

unread,
May 23, 2015, 12:55:33 PM5/23/15
to harbou...@googlegroups.com
[...]

You can install C compilator, f.e. MinGW 4.9.2 too.

Regards.,
Marek Horodyski

Klas Engwall

unread,
May 23, 2015, 3:43:48 PM5/23/15
to harbou...@googlegroups.com
Hi Dwight,
MiniGUI is basically a graphical toolbox that will let you create a
Windows application while still keeping your old procedural code (if I
have understood the MiniGUI folks correctly - I have never used it myself).

With "Harbour IDE" I suppose you mean HBIDE, which a few years ago was
separated from Harbour itself into the QtContribs repository at
SourceForge. It is an IDE, so it is both an editor and a front end to
Harbour's project manager hbmk2.

Both are valid options, as I understand it.

But if you intend to keep your application text based with the old and
familiar look and feel, all you *really* need is a text editor of your
choice and the nightly Harbour download, version 3.2.0dev, which
includes all the Harbour binaries and the MinGW C compiler (although not
the version Marek mentioned but the 4.6.1 version that most of us still
use). Downloading the Harbour sources from GitHub is optional but
recommended (for reference, including the samples).

There is also a stable Harbour 3.0 download, but it is very old and not
recommended anymore. Almost everyone uses 3.2.0dev, but since it is
still a moving target, a little care must be exercised when choosing a
nightly download from one night or another. It is extremely stable
almost every day, but there is always a slight risk that something goes
wrong from one day to the next. So keep an eye on the harbour-devel
newsgroup to see if any problems are reported there. You will notice
that when problems are reported, which is very seldom, they are always
fixed very quickly.

Regards,
Klas

paul.smi...@gmail.com

unread,
May 23, 2015, 3:53:52 PM5/23/15
to harbou...@googlegroups.com
Just use harbour to start with
An easy way is to download the latest 32 bit harbour nightly binary from http://harbour.github.io/index.html and install that.
64 bit versions have to be made from the source and don't run noticeably different.
If you have used the default installation add the path=c:\hb32\bin;%path% to your path.
Use hbmk2.exe to compile and link into a new windows executable that will use your old data and indexes like the old 16 bit clipper executable did.
If you used any non standard add on libraries in your clipper version you will have to alter your code with workarounds.
I'm the lowest level of newb here but recently went through this process to convert old but useful software to run on windows 64bit machines.
I just used notepad as an editor. Printing as always is a fiddle 
Good luck





On Sunday, May 24, 2015 at 12:52:36 AM UTC+8, DwigtArmyOfChampions wrote:
I have a bunch of old CA Clipper .PRG files. They are all DOS-based and not graphical. I am on Windows 7 64-bit and I want to compile these programs. What exactly do I need? Do I only need Harbour to compile it?

I assume I can do either of the following:  and install

esgici

unread,
May 24, 2015, 5:51:54 AM5/24/15
to harbou...@googlegroups.com

Hi

Welcome aboard

On Saturday, May 23, 2015 at 7:52:36 PM UTC+3, DwigtArmyOfChampions wrote:
I have a bunch of old CA Clipper .PRG files. They are all DOS-based and not graphical. I am on Windows 7 64-bit and I want to compile these programs. What exactly do I need? 

For migration, this may be  useful

Regards

Qatan

unread,
May 24, 2015, 3:27:38 PM5/24/15
to harbou...@googlegroups.com
Hi,
 
Besides the nice information Esgici already gave you (via his link) I also offer my humble "Harbours Beginners’ Guide” (for Windows version)
 
 
You are free to distribute it if you want.
 
Qatan
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
 
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

esgici

unread,
May 24, 2015, 5:31:32 PM5/24/15
to harbou...@googlegroups.com


On Sunday, May 24, 2015 at 10:27:38 PM UTC+3, Qatan wrote:
Hi,
 
Besides the nice information Esgici already gave you (via his link) I also offer my humble "Harbours Beginners’ Guide” (for Windows version)
 
 
You are free to distribute it if you want.

We have other useful documentations for beginners: especially by Massimo and Giovanni.

By the way, both HMG (Harbour MiniGUI) official and extended include required installation ( BCC / MinGW and Harbour) files and installation process. 

Here is HMG official forum and download place of package and documentation files.

Regards.



Francesco Perillo

unread,
May 26, 2015, 4:05:55 AM5/26/15
to harbou...@googlegroups.com
In my blog you can find a series of blog posts about converting a clipper application to Harbour. I listed the problems I encountered and solved.

Another post explains how to compile Harbour. It includes instructions on how to compile with Qt to create graphical programs... just skip that parts for classical, text-mode only, clipper compatible, programs: http://www.mozzarellaincarrozza.it/harbour/compiling-harbour-for-qt-from-git/




Reply all
Reply to author
Forward
0 new messages