HMG 3.x + WVG = Harbour Multi GT
Moderator: Rathinagiri
HMG 3.x + WVG = Harbour Multi GT
CUI: Console to GUI
Some time ago... on the blog of "Marus Gambeta" I read something about "HARBOUR MULT GT", ( Multiple graphic LIB: simultaneous) ... however the sample on blog do not work and left the possibility for the future (that came) ...
Recently in a post (forum harbor: pctoledo), an User who tried to migrate from "xHarbour CUI" to "Harbour CUI" received some code in HMG and failed to Build the sample (obvious: neither had HMG). Some posts later he get sucesses receiving more tips for install and compile with HMG ...
I have found that situation very strange, because the program would be the true "Frankenstein" (I imagine "HMG + Console Window" = Sample Mixed) ...
Returning to the "HARBOUR MULT GT" - I took an example of HMG (Contacts) and implemented some routines WVG ...
Finally I reached a satisfactory result ...
Download the example to the Samples folder of HMG and test ...
Extract to the root of the disk where HMG = C:, D:, ETC ...
End Location:
\ HMG \ SAMPLES \ HMG_WVG
To build (being in the folder):
\ HMG \ SAMPLES \ HMG_WVG \ build demo.hbp
[PT-BR]
Migração imediata de console para GUI
A algum tempo no blog do "Marcos Gambeta" li sobre: "HARBOUR MULTI GT", utilizando Multiplas bibliotecas gráficas... no entanto o exemplo não era funcional e deixei a possibilidade para o futuro (Que chegou)...
Recentemente num post (forum harbour), um usuario que tentava migrar de "xHarbour Console" para "Harbour" tambem no modo Console recebeu um exemplo em HMG para compilar e não conseguiu (obvio: nem tinha HMG). Alguns posts depois recebeu + dicas para instalar e compilar com HMG... Achei muito estranha a situação, pois o programa ficaria o Verdadeiro "FRANKENSTEIN" ( imaginei "HMG + Janela Console" )...
Voltando ao "HARBOUR MULTI GT" - Peguei um exemplo da HMG (Contactos) e implementei algumas rotinas da WVG...
Finalmente cheguei a resultado satisfatório...
Baixar o exemplo para a pasta Samples da HMG e testar...
Extrair para raiz do disco onde se encontra a HMG = C:, D:, ETC...
Localização Final:
\HMG\SAMPLES\HMG_WVG
Para compilar (estando na pasta):
\HMG\SAMPLES\HMG_WVG\build demo.hbp
Some time ago... on the blog of "Marus Gambeta" I read something about "HARBOUR MULT GT", ( Multiple graphic LIB: simultaneous) ... however the sample on blog do not work and left the possibility for the future (that came) ...
Recently in a post (forum harbor: pctoledo), an User who tried to migrate from "xHarbour CUI" to "Harbour CUI" received some code in HMG and failed to Build the sample (obvious: neither had HMG). Some posts later he get sucesses receiving more tips for install and compile with HMG ...
I have found that situation very strange, because the program would be the true "Frankenstein" (I imagine "HMG + Console Window" = Sample Mixed) ...
Returning to the "HARBOUR MULT GT" - I took an example of HMG (Contacts) and implemented some routines WVG ...
Finally I reached a satisfactory result ...
Download the example to the Samples folder of HMG and test ...
Extract to the root of the disk where HMG = C:, D:, ETC ...
End Location:
\ HMG \ SAMPLES \ HMG_WVG
To build (being in the folder):
\ HMG \ SAMPLES \ HMG_WVG \ build demo.hbp
[PT-BR]
Migração imediata de console para GUI
A algum tempo no blog do "Marcos Gambeta" li sobre: "HARBOUR MULTI GT", utilizando Multiplas bibliotecas gráficas... no entanto o exemplo não era funcional e deixei a possibilidade para o futuro (Que chegou)...
Recentemente num post (forum harbour), um usuario que tentava migrar de "xHarbour Console" para "Harbour" tambem no modo Console recebeu um exemplo em HMG para compilar e não conseguiu (obvio: nem tinha HMG). Alguns posts depois recebeu + dicas para instalar e compilar com HMG... Achei muito estranha a situação, pois o programa ficaria o Verdadeiro "FRANKENSTEIN" ( imaginei "HMG + Janela Console" )...
Voltando ao "HARBOUR MULTI GT" - Peguei um exemplo da HMG (Contactos) e implementei algumas rotinas da WVG...
Finalmente cheguei a resultado satisfatório...
Baixar o exemplo para a pasta Samples da HMG e testar...
Extrair para raiz do disco onde se encontra a HMG = C:, D:, ETC...
Localização Final:
\HMG\SAMPLES\HMG_WVG
Para compilar (estando na pasta):
\HMG\SAMPLES\HMG_WVG\build demo.hbp
- Attachments
-
- HMG_WVG_20120528.rar
- To Buil:
C:\HMG\SAMPLES\HMG_WVG\build demo.hbp - (9.63 KiB) Downloaded 786 times
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: HMG 3.x + WVG = Harbour Multi GT
Hi Chacal.GO ,
Thanks for sharing your code.
I´d try to compile and run the demo but with no success.
I am using: Windows 7 64 bits and HMG 3.0.40
Please, take a look at the attached file
[]´s Salamandra
Thanks for sharing your code.
I´d try to compile and run the demo but with no success.
I am using: Windows 7 64 bits and HMG 3.0.40
Please, take a look at the attached file
[]´s Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )
Re: HMG 3.x + WVG = Harbour Multi GT
Hello Sr.: Salamandra
Here I have the same ambient as you have used...
Win7 64
HMG 3.0.40 (Just Downloaded for this test)
Copy files to: C:\hmg.3.0.40\SAMPLES\HMG_WVG
CMD (Prompt)
C:
CD \hmg.3.0.40\SAMPLES\HMG_WVG
Build demo.hbp
Build ok: no any warning's (Demo.exe attached with sources updated)
Here I have the same ambient as you have used...
Win7 64
HMG 3.0.40 (Just Downloaded for this test)
Copy files to: C:\hmg.3.0.40\SAMPLES\HMG_WVG
CMD (Prompt)
C:
CD \hmg.3.0.40\SAMPLES\HMG_WVG
Build demo.hbp
Build ok: no any warning's (Demo.exe attached with sources updated)
- Attachments
-
- HMG_WVG_20123005.rar
- *
To Buil:
C:\HMG\SAMPLES\HMG_WVG\build demo.hbp - (828.96 KiB) Downloaded 874 times
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
Re: HMG 3.x + WVG = Harbour Multi GT
Hello Sr.: Salamandra
Please: For your test, edit build.bat and correct the path...
call \hmg\build.bat %*
to
call ..\..\build.bat %*
Please: For your test, edit build.bat and correct the path...
call \hmg\build.bat %*
to
call ..\..\build.bat %*
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: HMG 3.x + WVG = Harbour Multi GT
Hi Chacal.GO ,
Thanks, I´ll try again
[]´s Salamandra
Thanks, I´ll try again
[]´s Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: HMG 3.x + WVG = Harbour Multi GT
Hi Salamandra:salamandra wrote:Hi Chacal.GO ,
Thanks for sharing your code.
I´d try to compile and run the demo but with no success.
I am using: Windows 7 64 bits and HMG 3.0.40
[]´s Salamandra
Work in HMG.3.0.41, Windows Home Premiun 64
Try MiBuild.bat, Double Click, enter only name, compile .HBP if exist; otherwise compile .PRG
but drag and drop your application MiBuild.bat above.
Hola Salamandra:
Compila perfectamente en HMG.3.0.41 en Windows Home Premiun 64
Intente Mibuild.bat, Doble Click y entre el nombre de su aplicacion, si existe el proyecto .HBP este se compilara, sino toma por defecto el proyecto .PRG.
en todo caso puede ud. arrastrar y soltar encima su proyecto sobre Mibuild.bat
Chacal.GO :
thanks for sharing
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: HMG 3.x + WVG = Harbour Multi GT
Hi Daniel,
Thanks for your help.
I tried it with your bat file and compiles fine, but runtime error remains...
May be something related to HMG version ??
[]´s Salamandra
Thanks for your help.
I tried it with your bat file and compiles fine, but runtime error remains...
May be something related to HMG version ??
[]´s Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: HMG 3.x + WVG = Harbour Multi GT
No. Please try to compile thru IDE. It´s works !May be something related to HMG version ??
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG 3.x + WVG = Harbour Multi GT
Maybe You have an invalid lib:gtwvg (Null Return of oScreen )...
Please try do DownLoad a new HMG 3.x and will have success on this...
Best regards...
Please try do DownLoad a new HMG 3.x and will have success on this...
Best regards...
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: HMG 3.x + WVG = Harbour Multi GT
the path of my current HMG is: C:\HMG.3.0.41salamandra wrote:Hi Daniel,
Thanks for your help.
I tried it with your bat file and compiles fine, but runtime error remains...
May be something related to HMG version ??
[]´s Salamandra
this installation does not contain any default, might have crossed path with MiniGUI, harbor and / or other post-installation HMG HMG.3.0.41
To verify this, open a console
Type "Path > path.txt"
Type "Notepad path.txt"
in Notepad go all the way of his variable% PATH%
la ruta de mi actual HMG es : C:\HMG.3.0.41
esta instalacion no presenta ningun defecto, puede ser que tenga path cruzados con Minigui, harbour o/u otra instalacion HMG posterior a HMG.3.0.41
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO