HARBOUR 3.4 + GTWVG + HMG 3.0.46 = MULTI GT

699 views
Skip to first unread message

MVinfo

unread,
Mar 7, 2016, 7:57:43 AM3/7/16
to Harbour Users

HARBOUR 3.4 + GTWVG + HMG 3.0.46


Hello guys how it goes, okay?
That's the deal.
When I migrated for the first time was using HMG (Harbour MiniGUI Roberto Lopez) really enjoyed it.
But when I saw that to make the graphical windows, I realized I had to redezenhar all screens, over 80% of the code should be changed (all in the arm / hand).
Then I met the GTWVG which is easier to do this.
So now use the harbor 3.4.0 and hbmk2 to compile my .HBP file.
Hence, I had the following idea!
- The screen containing the clipper menu, I'll do it in graphics mode using the GTWVG, as seems to be simpler to do it.
- Some modules will be in CONSOLE same way.
- Other graphic mode (looks CONSOLE) using GTWVG.
- Now, for example, the customer database module, I want to do it or change it to 100% graph windows screens, etc ... and for that, I use the graphical interface of HMG 3.0.XX.
So keeping the compilation using HBMK2 and GTWVG already put the following lines:

In file .HBP
HMG.HBC
(Here is the error of can not include "minigui.ch" and to solve it put the full path of the HMG.HBC location, which is C: \ hmg.3.0.46 \ hmg.hbc)

In my .PRG (only in the customer master) put the following lines:
In my .PRG (only in the customer master) put the following lines:
#include "hmg.ch"
REQUEST HB_GT_WIN_DEFAULT



Well, to compile, unfortunately I get the following error message:

gcc.exe: error: C: /MVinfo/MIGRAR/SiCCA/SiCCA3603/sci10000/_temp.o: No such file or directory
hbmk2
[SICCA3603]: Error: Running linker. 1

Another thing I notice, if not put the path where the file has HMG.CH another error message; "Can not include hmg.ch".
The way I'm using is:
#include "C: \ hmg.3.0.46 \ INCLUDE \ hmg.ch" (. I put this in Windows 10/64 bit variable path, but does not work do not seem to take the path)

Then, too, I'm realizing that too, something is wrong in the PATH variable (environment variables) or missing to set some other, that HMG work without your IDE and together with GTWVG.
If someone has already thought also like me, and have not posted the idea, it's time to try together this union that we call HARBOUR MULTI GT, will you?
So someone very experienced can help us?
Grateful!

Serge Girard

unread,
Mar 7, 2016, 11:16:41 AM3/7/16
to Harbour Users
I still use HMG with great joy. Indeed all screen have to redefined but now all is NEW!

Serge

Op maandag 7 maart 2016 13:57:43 UTC+1 schreef MVinfo:

philippe...@gmail.com

unread,
Nov 8, 2018, 8:55:47 AM11/8/18
to Harbour Users
Hello,

I try to switch my app to graphic mode. It's an old Clipper application, originally screens were managed by a 3rd party tool : HyperScreen.

I wrote a routine that generates PRG with GETs object and redraw the screen with @.., .. SAY "..........."

I tried some tips I found on this forum (gtwvg for instance) but without success.

So my questions are :

- Is it possible with Harbour to "just" toggle a switch to have a graphic mode (In older times, I used Fern's Graphic Library and the source code was quite the same) ?
- What could be the solution for me ? :)

I must say I still use Harbour 3.0, I downloaded the 3.20 but not used it yet.

Any advice appreciated !

Thanks a lot,

Philippe

José Quintas

unread,
Nov 8, 2018, 9:14:57 AM11/8/18
to harbou...@googlegroups.com

Confuse. Subject is about Harbour 3.4, but text is about Harbour 3.0, and HMG comes with Harbour 3.2

Console: hbmk2 application.hbp

gtwvg: hbmk2 application.hbp gtwvg.hbc

mix gtwvg & hmg: not standard, you need understand how each library works before mix, and depends of your source code about how to mix.

José M. C. Quintas

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
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.

philippe...@gmail.com

unread,
Nov 8, 2018, 9:28:57 AM11/8/18
to Harbour Users
Thank you José,

And sorry for the confusion ! I focused on the graphic side of the discussion...

I'll try with 3.4 ASAP !

Thanks again

Philippe
Reply all
Reply to author
Forward
0 new messages