Page 5 of 7

Re: Migration from HMG to HMG Minigui

Posted: Wed Jan 25, 2023 2:19 pm
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

Re: Migration from HMG to HMG Minigui

Posted: Wed Jan 25, 2023 2:57 pm
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

Re: Migration from HMG to HMG Minigui

Posted: Wed Jan 25, 2023 4:07 pm
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

Re: Migration from HMG to HMG Minigui

Posted: Thu Jan 26, 2023 7:44 am
by serge_girard
step by step ! That's what I did too!

Re: Migration from HMG to HMG Minigui

Posted: Fri Jan 27, 2023 2:24 pm
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)

Re: Migration from HMG to HMG Minigui

Posted: Tue Jan 31, 2023 12:42 am
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

Re: Migration from HMG to HMG Minigui

Posted: Wed Feb 01, 2023 6:28 pm
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

Re: Migration from HMG to HMG Minigui

Posted: Wed Feb 01, 2023 7:38 pm
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 :?:

Re: Migration from HMG to HMG Minigui

Posted: Wed Feb 01, 2023 11:35 pm
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

Re: Migration from HMG to HMG Minigui

Posted: Thu Feb 02, 2023 12:42 pm
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.