Migration from HMG to HMG Minigui
Moderator: Rathinagiri
Re: Migration from HMG to HMG Minigui
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
where can I find the error codes like here it's Error E0030 thank you
L'Algerie vous salut
Y.TABET
Y.TABET
- 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
E0030 is wrong syntax
you have
but you mix this syntax, look line SYSMENU
you must make decision: Strandad or Alternate syntax
you have
or
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> ] ...
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
I understand , i'm going to fix it step by step Thank'sdragancesu wrote: ↑Wed Jan 25, 2023 2:57 pm E0030 is wrong syntax
you have
or
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> ] ...
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
L'Algerie vous salut
Y.TABET
Y.TABET
- 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
step by step ! That's what I did too!
There's nothing you can do that can't be done...
Re: Migration from HMG to HMG Minigui
Bonsoir,
can you to do this example in HMG.3.4.4 to HMG extended Minigui Thank's
can you to do this example in HMG.3.4.4 to HMG extended Minigui Thank's
it's working (I changed GRID to BROWSE)@ 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 } ;
L'Algerie vous salut
Y.TABET
Y.TABET
Re: Migration from HMG to HMG Minigui
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
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
Y.TABET
Re: Migration from HMG to HMG Minigui
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
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 (55.48 KiB) Viewed 26509 times
L'Algerie vous salut
Y.TABET
Y.TABET
Re: Migration from HMG to HMG Minigui
Hi,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
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
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
- 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
hi,
use
if try instead of
Code: Select all
MYBMP BITMAP RES\SOME.BMPCode: Select all
#define RCDATA 10
MYBMP RCDATA RES\SOME.BMPhave fun
Jimmy
Jimmy
Re: Migration from HMG to HMG Minigui
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.gfilatov wrote: ↑Wed Feb 01, 2023 7:38 pmHi,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
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![]()
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 336 times
L'Algerie vous salut
Y.TABET
Y.TABET