Migration from HMG to HMG Minigui

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

ou puis je trouver les codes d'erreurs comme ici c''est Error E0030 merci
where can I find the error codes like here it's Error E0030 thank you
L'Algerie vous salut
Y.TABET
User avatar
dragancesu
Posts: 931
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: Migration from HMG to HMG Minigui

Post by dragancesu »

E0030 is wrong syntax

you have


Standard Syntax (xBase Style):

DEFINE WINDOW <WindowName>

AT <nRow> ,<nCol>

WIDTH <nWindth>

HEIGHT <nHeight>

[ VIRTUAL WIDTH <nVirtualWindth> ]

[ VIRTUAL HEIGHT <nVirtualHeight> ]

[ TITLE <cTitle> ]

[ ICON <cIconName> ]

[ MAIN | CHILD | MODAL | SPLITCHILD | PANEL ]

[ NOSHOW ]

[ TOPMOST ]

[ NOAUTORELEASE ]

[ NOMINIMIZE ]

[ NOMAXIMIZE ]

[ NOSIZE ]

[ NOSYSMENU ]

[ NOCAPTION ]

[ CURSOR <CursorName> ] ...
or

Alternate Syntax:


DEFINE WINDOW <WindowName>

ROW <nRow>

COL <nCol>

WIDTH <nWindth>

HEIGHT <nHeight>

WINDOWTYPE MAIN | CHILD | MODAL | SPLITCHILD | STANDARD | PANEL

[ VIRTUALWIDTH <nVirtualWindth> ]

[ VIRTUALHEIGHT <nVirtualHeight> ]

[ TITLE <cTitle> ]

[ ICON <cIconName> ]

[ VISIBLE <lValue> ]

[ TOPMOST [<lValue>] ]

[ AUTORELEASE <lValue> ]

[ MINBUTTON <lvalue> ]

[ MAXBUTTON <lValue> ]

[ SIZABLE <lValue> ]

[ SYSMENU <lValue> ]

[ TITLEBAR <lValue> ]

[ CURSOR <CursorName> ] ...

but you mix this syntax, look line SYSMENU

you must make decision: Strandad or Alternate syntax
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

dragancesu wrote: Wed Jan 25, 2023 2:57 pm E0030 is wrong syntax

you have


Standard Syntax (xBase Style):

DEFINE WINDOW <WindowName>

AT <nRow> ,<nCol>

WIDTH <nWindth>

HEIGHT <nHeight>

[ VIRTUAL WIDTH <nVirtualWindth> ]

[ VIRTUAL HEIGHT <nVirtualHeight> ]

[ TITLE <cTitle> ]

[ ICON <cIconName> ]

[ MAIN | CHILD | MODAL | SPLITCHILD | PANEL ]

[ NOSHOW ]

[ TOPMOST ]

[ NOAUTORELEASE ]

[ NOMINIMIZE ]

[ NOMAXIMIZE ]

[ NOSIZE ]

[ NOSYSMENU ]

[ NOCAPTION ]

[ CURSOR <CursorName> ] ...
or

Alternate Syntax:


DEFINE WINDOW <WindowName>

ROW <nRow>

COL <nCol>

WIDTH <nWindth>

HEIGHT <nHeight>

WINDOWTYPE MAIN | CHILD | MODAL | SPLITCHILD | STANDARD | PANEL

[ VIRTUALWIDTH <nVirtualWindth> ]

[ VIRTUALHEIGHT <nVirtualHeight> ]

[ TITLE <cTitle> ]

[ ICON <cIconName> ]

[ VISIBLE <lValue> ]

[ TOPMOST [<lValue>] ]

[ AUTORELEASE <lValue> ]

[ MINBUTTON <lvalue> ]

[ MAXBUTTON <lValue> ]

[ SIZABLE <lValue> ]

[ SYSMENU <lValue> ]

[ TITLEBAR <lValue> ]

[ CURSOR <CursorName> ] ...

but you mix this syntax, look line SYSMENU

you must make decision: Strandad or Alternate syntax
I understand , i'm going to fix it step by step Thank's
L'Algerie vous salut
Y.TABET
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Migration from HMG to HMG Minigui

Post by serge_girard »

step by step ! That's what I did too!
There's nothing you can do that can't be done...
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

Bonsoir,
can you to do this example in HMG.3.4.4 to HMG extended Minigui Thank's
@ 40,10 GRID Grid_Creance_Cli_NEW ; // 10,10
WIDTH 720 ; // 770 ;
HEIGHT 420 ;
HEADERS {'Gestion ','Montant TTC ','T.v.a','Avances Esp','Autres Avances','Representation', 'Solde'} ;
WIDTHS {70,110,100,110,110,100,110};
EDIT ;
VALUE { 1 , 1 } ;
justify {0,1,1,1,1,1,1};
COLUMNCONTROLS { aCrCtrl_1 , aCrCtrl_2 , aCrCtrl_3 , aCrCtrl_4 , aCrCtrl_5 , aCrCtrl_6, aCrCtrl_7 } ;
ROWSOURCE "GEST_ANT" ;
COLUMNFIELDS { 'Gestion' , 'Mont_ht' , 'Mont_Tva' , 'AvancEsp' , 'AutreAva', 'Represent' , 'SoldeAva'} ;
ALLOWAPPEND ;
ALLOWDELETE ;
DYNAMICDISPLAY { creaDisplay_1 , creaDisplay_2 , creaDisplay_3 , creaDisplay_4 , creaDisplay_5 , creaDisplay_6 , creaDisplay_7 } ;
it's working (I changed GRID to BROWSE)
L'Algerie vous salut
Y.TABET
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

tout se compile bien avec compile.bat ,aucune erreur n'est signalée par DOS ,mais pas de fichier en exe ,Demain je verrais ça
Bonne nuit a tous .
everything compiles fine with compile.bat, no error is reported by DOS, but no exe file, tomorrow I will see that
Good night all
L'Algerie vous salut
Y.TABET
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

Bonsoir,
En compilant avec IDE Minigui ==> (Error Gestion.Rc 35 33: Invalid bitmap format),
et par "compile.bat" , j'ai le même problème a ci joint l'image de la compilation.
est ce un problème de fichier.rc.
est il différent du fichier de HMG.3.4.4.

By compiling with IDE Minigui ==> (Error Gestion.Rc 35 33: Invalid bitmap format),
and by "compile.bat" , I have the same problem attached ( the image of the compilation.)
is this a file.rc problem.
is it different whith file.rc of HMG.3.4.4
Attachments
gestion.rar
(472 Bytes) Downloaded 340 times
ErreurCompilation.JPG
ErreurCompilation.JPG (55.48 KiB) Viewed 26504 times
L'Algerie vous salut
Y.TABET
User avatar
gfilatov
Posts: 1099
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Migration from HMG to HMG Minigui

Post by gfilatov »

tonton2 wrote: Wed Feb 01, 2023 6:28 pm Bonsoir,
En compilant avec IDE Minigui ==> (Error Gestion.Rc 35 33: Invalid bitmap format),
et par "compile.bat" , j'ai le même problème a ci joint l'image de la compilation.
est ce un problème de fichier.rc.
est il différent du fichier de HMG.3.4.4.

By compiling with IDE Minigui ==> (Error Gestion.Rc 35 33: Invalid bitmap format),
and by "compile.bat" , I have the same problem attached ( the image of the compilation.)
is this a file.rc problem.
is it different whith file.rc of HMG.3.4.4
Hi,

It seems that your bitmap image in Gestion.Rc file is not like to the Borland resource compiler.
You have two options now:
1) replace this bitmap with another one;
2) replace BCC compiler with MinGW C compiler which used in HMG.3.4.4.

What help do you need :?:
Last edited by gfilatov on Thu Feb 02, 2023 8:26 am, edited 1 time in total.
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
AUGE_OHR
Posts: 2096
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Migration from HMG to HMG Minigui

Post by AUGE_OHR »

hi,
tonton2 wrote: Wed Feb 01, 2023 6:28 pm is it different whith file.rc of HMG.3.4.4
if try instead of

Code: Select all

MYBMP   BITMAP   RES\SOME.BMP
use

Code: Select all

#define RCDATA 10
MYBMP   RCDATA   RES\SOME.BMP
have fun
Jimmy
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

gfilatov wrote: Wed Feb 01, 2023 7:38 pm
tonton2 wrote: Wed Feb 01, 2023 6:28 pm Bonsoir,
En compilant avec IDE Minigui ==> (Error Gestion.Rc 35 33: Invalid bitmap format),
et par "compile.bat" , j'ai le même problème a ci joint l'image de la compilation.
est ce un problème de fichier.rc.
est il différent du fichier de HMG.3.4.4.

By compiling with IDE Minigui ==> (Error Gestion.Rc 35 33: Invalid bitmap format),
and by "compile.bat" , I have the same problem attached ( the image of the compilation.)
is this a file.rc problem.
is it different whith file.rc of HMG.3.4.4
Hi,

It seems that your bitmap image in Gestion.Rc file is not like to the Borland resource compiler.
You have two options now:
1) replace this bitmap with another one;
2) replace BCC compiler with MinGW C compiler which used in HMG.3.4.4.

What help do you need :?:
mon programme fonctionne très bien dans HMG.3.4.4 , ,maintenant j'ai migré vers HMG EXTENDED (MINIGUI) , tout va bien sauf gestion.rc.
comment compiler avec Borland ce fichier.
encore merci beaucoup de votre précieuse aide

my program works fine in HMG.3.4.4, now i migrated to HMG EXTENDED (MINIGUI), everything is fine except management.rc.
how to compile with Borland this file.
Thanks again for your precious help.
Attachments
Compile.rar
(383 Bytes) Downloaded 335 times
L'Algerie vous salut
Y.TABET
Post Reply