|

the software that grows
with you








![[x]Harbour](_derived/Harbour.htm_cmp_vouchblank110_vbtn_p.gif)


| |
[x]Harbour
| [x]Harbour
Demo |
 |
Please accept my
humble contribution to the cause of this noble movement called HARBOUR.
Download HrbDemo.zip and extract it ( with 32 bit zip utility ) in
(x)Harbour directory. Please note that xHarbour and Harbour will be
used interchangebly. This demo compiles and runs fine in both the environment
|
|
| |
|
|
| |
 |
|
| |
|
|
| |
Download
Source ( HrbDemo2.zip 3095 KB
) |
|
 |
Unzip the above file ( with 32
bit unzip utility ) in \Harbour or \xHarbour directory and follow the 'How
To' section below. This file is useful for developers only. For end users,
the executable link below is sufficient. |
|
| |
|
|
| |
Download
Executables ( HrbExe2.zip 650 KB
) |
|
 |
Unzip the above file in any
directory and run HrbDemo. It is stand alone .exe which demonstrates the
various facets of (x)Harbour. This is xHarbour version and runs fine with
Harbour as well with one exception, Active-X, which will be available
shortly. |
|
| |
|
|
| |
The
Structure |
|
 |
c:\(x)Harbour
\HrbDemo
\HbCom\
\Include, \Obj, \Source
\HbPrint\ \Include, \Obj, \Source
\HbZlib\ \Include, \Obj, \Source
\HWGui\ \Include, \Obj, \Source
\LibCt\ \Include,
\Obj, \Source
\LibGt\ \Include,
\Obj, \Source
\LibMisc\ \Include, \Obj, \Source
\LibNf\ \Include,
\Obj, \Source
\MiniGui\ \Include, \Obj, \Source
\RddAds\
\Include, \Obj, \Source
\Samples\ \Include, \Obj, \Source
\Utility\ \Include,
\Obj, \Source
\What32\ \Include, \Obj, \Source
\WoopGui\ \Include, \Obj, \Source
Subdirectories \source contain .prg .c .cpp files
Subdirectories \include contain .ch .h files
Subdirectories \obj are empty and will contain the .c .obj files
when libraries will be build.
\Include\
All .ch, .h files used by contributors
\MakeLibs\
Batch files to automate the build process of libraries
Mak_All.bat Run it first time to build all libraries.
Mak.bat To build
single library - Mak libct ( or whatever library )
( only those libraries which are defined in HrbDemo )
CleanAll.bat Deletes all files from the ..\libDirecorty\obj
. It is useful
while switching from xHarbour to Harbour.
Clean.bat Cleans a single \obj
directory - Clean libct
\Lib\
HHCtrl.lib Necessary for
Html Help
Ace32.lib Advantage Client
Engine Lib
Ace32.Dll Place it in
c:\windows\system
AdsLoc32.dll Advantage Local Server
MAPI32.lib Necessary for MAPI Mail
Send Component
WinMM.lib Library for
Multimedia, etc
\Help\
Harbour.chm Compiled Html Help
What32.chm A Template of What32.lib Reference
Files
HrbDemo.prg
HrbDemo.txt
SetB55.bat
Bld_b32.bat
M.bat
R.bat
And a
few bmp's etc as runtime resources used by
contributor's demos or test programs.
|
|
| |
|
|
| |
How
To |
|
 |
Create a shortcut with
Command to be activated.
Give the command window a name say Harbour or xHarbour
Select an icon to distinguish it from the rest of desktop icons
After creation, right click and select properties
Set fields as follows:
Working:
C:\(x)Harbour\HrbDemo\MakeLibs
Batch File: C:\(x)Harbour\SetB55.bat
Run:
Normal Window
Copy c:\(x)Harbour\HrbDemo\SetB55.bat
c:\(x)Harbour
Change the variables in SetB55.bat to suit your environments.
Because build process is using a lot of environment variable, you might
run out of environment space. To overcome it place the following line in
your config.sys:
shell=C:\COMMAND.COM C:\ /e:2024 /p
or
shell=C:\COMMAND.COM C:\ /e:3072 /p
If everything goes ok, you will be placed in \harbour\hrbdemo\makelibs
after clicking the above created shortcut.
Run Mak_All.bat and all libraries mentioned above will be built.
The target path of libs will be the same as \harbour\lib.
Change to \harbour\hrbdemo\. Run m.bat and Hrbdemo.exe will be created.
Run r.bat and HrbDemo.exe will be invoked.
|
|
| |
|
|
| |
Objective |
|
 |
At about first week of May
2002 I turned to Harbour, which I was neglecting deliberately for long due
to a failed effort earlier, I realized the vast potentials what I could
exploit as a development tool. I built a utility lib and created an .exe
which I called as a service application from within my Clipper and even
xBase++ applications and incorporated a lot of useful features into the
Clipper application, e.g., zipping and unzipping, firing activeX controls,
opening file open and save dialogs, and recently color selection dialog (
thanks to What32.lib ).
But it took a lot of effort to accomplish a task which could have been
very easy given the right type of environment.
The build process of Harbour has been optimized a lot and I felt no
difficulty in downloading the CVS and building the bineries. Though there
were minor adjustments required, more or less, it became a straight
forward process. But when it came to contributory libs, I encountered a
lot of troubles. Mainly due to a fact that everybody presented a different
kind of make files and batch files. No effort of standardization the make
process has been initiated. Here is my humble request to all of you to
make this process standardized.
Secondly, and more importantly, I could not find a concrete test
program which could give me a clear insight ( newbie to Harbour )
what it offers and what not. Though there are around 170+ programs in the
\tests directory of Harbour but all are isolated. One has to build 170
programs, a discouraging aspect.
Also I wanted to exploit GUI libs in relation to console application. A
lot of the dialogs in an application may relate to straight forward inputs
which can be best formed under GUI environment. Exploit @ Say, Gets of
Console and all the convenient and beautiful dialogs of Windows
under one application
And here is Harbour demo Release 1.0 consolidating all these facts.
Please feel free to report enhancements and forward your contribution on
xHarbour newsgroup, or mail me at info@vouchcac.com
|
|
| |
|
|
| |
Credits |
|
 |
Credit goes to all the
developers of Harbour directly or indirectly and the contributors who are
in a joint, positive, and rewarding effort to bail out the Clipper
community. This consolidated demo may show to the world what (x)Harbour
has achieved and what it will achieve. All the copyrights are
are the properties of their respective owners. In no way I take any credit whatsoever, as I think that what I have
presented can be presented by any one.
|
|
| |
|
|
| |
The
Future |
|
 |
In the next release, I would
like to include the remaining contribution libs. Also please keep me
informed, if you so like, about the new developments so that I could make
this demo a real-time single window expression of Harbour. This demo is
compile through BCC55. As I am new to C++ and concept of make files, I
could not provide this functionality for VC++. Anybody to help it out?
|
|
| A
Humble Contribution |
|