Wednesday, February 23, 2011

How to Build a Minigui (HMG Extended) Application with hbmk2 (Hb2.1, rc2)

Let us see what I have achieved thus far using hbmk2 from  the Harbour 2.1, rc (rev 16348) nightly builds as well as the MinGW Compiler

1. Harbour 2.1 + gtWVT - succesful
2..Harbour 2.1 + gtWVG- succesful
3. Harbour 2.0 + HMG.3.0.35 - succesful
4. Harbour 2.1 + HMG.3.0.35 -failure as HB2.1 not supported by HMG

With the help of Grigory Filatov of Minigui(HMG Extended) and Viktor (hbmk2 Architect), I have finally managed to do the same with the latest version of Minigui +Harbour 2.1, rc2
Please not that in this case, the MinGW linker could not be used as Borland C++ Compiler was used to build Minigui.

The successful re-building of a legacy 16-bit FiveWin application was done using the free Borland C++ Compiler +Harbour 2.1, rc2 +Minigui using the following .hbp and .hbc files

HRM4HMGX.HBP-oHRM4HMGX.exe
-w3
-es2
-gtgui
-rebuild

-lminigui -lvfw32
-lhbct -lhbmzip -lminizip -lhbwin -lhbmisc -lxhb

HRM4HMGX.HBC

hrm4win.prg
locks.prg

HRM4HMGX.HBC
incpaths=C:\MiniGUI\include
libpaths=C:\MiniGUI\lib
libs=
gt=
mt=no
instpaths=

No comments:

Post a Comment