Page 4 of 7
Re: Migration from HMG to HMG Minigui
Posted: Fri Apr 01, 2022 2:28 pm
by dragancesu
Remember dos time
In batch use command mode 80,25
If have minimized put mode 1,1
Re: Migration from HMG to HMG Minigui
Posted: Fri Apr 01, 2022 3:45 pm
by serge_girard
I send a ZIP file containing a tiny BAT_TEST.PRG ....
2 exe files: BAT_TEST.EXE compiled with HMG and BAT_TEST_MG.EXE compiled with MiniGui.
2 bat files: BT.BAT and BTMG.BAT to call BAT_TEST.EXE and second to call BAT_TEST_MG.EXE
Now put all in a new folder and the on your desktop create a shorcut to BT.BAT and then a shortcut to BTMG.BAT
Clicking on BT.BAT will open 1 window and BTMG.BAT 2 windows...
Now how to get rid of second window ?
Re: Migration from HMG to HMG Minigui
Posted: Fri Apr 01, 2022 5:48 pm
by gfilatov
serge_girard wrote: ↑Fri Apr 01, 2022 3:45 pm
...
Now how to get rid of second window ?
Serge,
Please modify the following line in your batch file
combt.bat:
hbmk2 bat_test.hbp bat_test.hbc c:\minigui\harbour\bin\minigui.hbc -inc -comp=bcc -beep -o%oname% -exitstr -Lc:\minigui\lib
as below
hbmk2 bat_test.hbp bat_test.hbc -gtgui c:\minigui\harbour\bin\minigui.hbc -inc -comp=bcc -beep -o%oname% -exitstr -Lc:\minigui\lib
That's all

Re: Migration from HMG to HMG Minigui
Posted: Sat Apr 02, 2022 6:47 am
by serge_girard
Brilliant Grigory ! Many Thanks
Serge
Re: Migration from HMG to HMG Minigui
Posted: Mon Jan 23, 2023 11:40 pm
by tonton2
Bonsoir tout le monde
très intéressant , Mr Serge avez vous réussi votre migration de HMG a minigui extended ? , car je pense aussi le faire
Re: Migration from HMG to HMG Minigui
Posted: Tue Jan 24, 2023 1:21 pm
by serge_girard
Oui, Tonton!
C'etait très facile!
Serge
Re: Migration from HMG to HMG Minigui
Posted: Tue Jan 24, 2023 5:13 pm
by tonton2
serge_girard wrote: ↑Tue Jan 24, 2023 1:21 pm
Oui, Tonton!
C'etait très facile!
Serge
Merci mon ami , je vais essayer de le faire également
@+
Re: Migration from HMG to HMG Minigui
Posted: Tue Jan 24, 2023 6:07 pm
by serge_girard
Commence avec des application simple/petits..!
Serge
Re: Migration from HMG to HMG Minigui
Posted: Tue Jan 24, 2023 8:08 pm
by tonton2
serge_girard wrote: ↑Tue Jan 24, 2023 6:07 pm
Commence avec des application simple/petits..!
Serge
trés bien et merci
Re: Migration from HMG to HMG Minigui
Posted: Wed Jan 25, 2023 1:36 pm
by tonton2
serge_girard wrote: ↑Tue Jan 24, 2023 6:07 pm
Commence avec des application simple/petits..!
Serge
Première phase premier problème inexpliqué
Trouver l'erreur

C:\MINIGUI\IDE\SAMPLES\GESTIO~1\gestion.Prg(41) Error E0030 Syntax error "syntax error at 'WINDOW'"