
PRG script files for dBase, and compiling them with a 3rd party compiler. However back then, the big deal was taking your. PRG files which were human readable, and quite capable of doing all kinds of fun things.Īs people’s level of complexity grew with dBase, people started to deploy it as an application, which in this day in age isn’t that unheard of, it happens today in the form of the Access 2007 runtime. And you could save your scripts into these. The cool thing about dBase was that you could program it, and the syntax was very easy to pick up, compared to SQL. But this was the wonderful world of dBase, a simple to use database utility that set the world on fire back in the CP/M, MS-DOS days. I’m sure most people have never heard, or seen the thing.
#CLIPPER 5.3 FOR WINDOWS AND DOS 5.3 INSTALLATION WINDOWS#
What is even more cool about Harbour is that once you get your program working there, it can be easily rebuilt for OS/2, Linux, Win32, Win64, Windows CE and a few other platforms where GCC is available.Īnd the best part is that they won’t soak up 100% of your CPU!!! Posted in clipper, gcc, harbour | Leave a reply DBASE III and friends. Now I know there is all kinds of front ends and other fun stuff, however I think it’s good to know how the thing actually works… Gcc -mconsole hi.c hi_c.c -I\hmg\harbour\include -mconsole -Wl,–start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,–end-group -ohi.exe -LC:/hmg/HARBOUR/lib Now to setup the environment, translate the clipper, build the c program and link them together…. Also because harbour translates the clipper into C, stdio is now working correctly so I can use printf. Notice how this looks very different from the old c program, but at the same time, it’s not too different. Now the C program needs some changes as well. So the first change to my simple clipper program is to create wrap my simple Clipper program in a main procedure. Porting applications is pretty straight forward, however Harbour needs a ‘main’ procedure to exist in order to work correctly. For this example, I just downloaded Harbour from sourceforge, and installed it in my c:\hmg directory. Much like f2c, harbour translates dBase PRG files into either C, or a p-code VM just like clipper did.

The next step will be taking that program and making a win32 exe.Īnd for that we are going to use this great program harbour. In the last instance, I left with an example of running a Clipper 87 program compiled with a simple C routine, then rebuilt that with Clipper 5.3 using both a 286 & 386 Dos extender.
