Page 19 of 21

Re: HMG 3.4.4

Posted: Tue Oct 29, 2019 7:42 pm
by Ismach
y por las dudas si alguien quiere regenerar la libsqlite3.a es asi:

1) descarcar sqlite3 source AMALGAMATION (sqlite-amalgamation-3300100.Zip)
y la sqlite3.Dll y sqlite3.def ( sqlite-dll-win32-x86-3300100.zip )

2) crear una cerpeta en mi caso ==> C:\hmg\MINGW\SQLite3\

3) compiar alli los .c y .h

Code: Select all

   sqlite3.c
   sqlite3.h

4) generar la libreria dinamica sqlite3.dll

abrir un cmd

Code: Select all

   C:\hmg\MINGW\SQLite3>SET PATH=c:\hmg\MINGW\bin\
   C:\hmg\MINGW\SQLite3>SET TEMP=C:\hmg\MINGW\SQLite3\
compilar opcion shared

Code: Select all

   C:\hmg\MINGW\SQLite3>c:\hmg\MINGW\bin\gcc -shared sqlite3.c -o sqlite3.dll
5) como vas a necesitar el archivo sqlite3.Def lo extraes y lo dejas en la misma carpeta
desde el zip que contiene la dll

6) generar la libreria estatica sqlite3.a

Code: Select all

   C:\hmg\MINGW\SQLite3>dlltool -D sqlite3.dll -d sqlite3.def -l libsqlite3.a
7) vea

Code: Select all


C:\hmg\MINGW\SQLite3>dir
 Volume in drive C is Windows
 Volume Serial Number is EN19-044820

 Directory of C:\hmg\MINGW\SQLite3

29/10/2019  16:17    <DIR>          .
29/10/2019  16:17    <DIR>          ..
29/10/2019  16:17           200.770 libsqlite3.a
11/10/2019  18:26           588.681 shell.c
11/10/2019  18:26         7.947.211 sqlite3.c
11/10/2019  18:28             5.604 sqlite3.def
29/10/2019  16:16           954.341 sqlite3.dll
11/10/2019  18:26           564.824 sqlite3.h
11/10/2019  18:26            34.156 sqlite3ext.h
               7 File(s)     10.295.587 bytes
               2 Dir(s)  183.040.839.680 bytes free

C:\hmg\MINGW\SQLite3>

Re: HMG 3.4.4

Posted: Mon Jan 06, 2020 2:39 pm
by tonton2
Bonjour a toute l’équipe,
J'ai toujours utilisé l'IDE pour la compilation de ma gestion, maintenant je passe au hmg 3.4.4 64 bit ,mes questions:
1° comment remettre IDE en 64 bit si possible
2° je voudrais de l'aide si possible pour compiler avec BUILT .sachant que je ne l'ai jamais utilisé.
mon fichier .hbp est le suivant
Merci d'avance pour votre aide

Re: HMG 3.4.4

Posted: Mon Jan 13, 2020 4:55 pm
by mustafa
Bonjour ami tonton2

  Et si ça peut vous servir?

  L'IDE est défini sur 64 bits
  et charges -> gestion.hbp

  Avec le Build.bat
  Créer un fichier bat dans mon
  cas -> build.3.4.4_64.bat
  contenu:

  @ECHO OFF
  appelez c: \ hmg.3.4.4_64 \ build64.bat gestion.hbp% *

  c: \ hmg.3.4.4_64 doit être le chemin où
  vous avez HMG 64 bits installé

  As-salamu alaikum

 Mustafa

Re: HMG 3.4.4

Posted: Sat Feb 08, 2020 11:43 am
by tonton2
Salam alykoum et merci beaucoup mon ami

Re: HMG 3.4.4

Posted: Wed Apr 15, 2020 6:00 am
by mol
Do you know that current version 3.4.4 is dated 29.03.2017? A whole piece of time...
And we still don't have leader to create new features.

Re: HMG 3.4.4

Posted: Wed Apr 15, 2020 7:35 am
by mustafa
Hello friend Marek, how are you?

See what appears with this code

Code: Select all


#include <hmg.ch>

Function Main

MsgInfo( OS()                   + CRLF + ;
             Hb_Compiler()      + CRLF + ;
             Version()          + CRLF + ;
             MiniGuiVersion() )      

Return

Regards
Mustafa

Re: HMG 3.4.4

Posted: Wed Apr 15, 2020 11:47 am
by mol
I'm using 32 bit only and my app reports 3.4.4

Re: HMG 3.4.4

Posted: Wed Apr 15, 2020 12:09 pm
by mustafa
ok ! Marek

Regards
Mustafa

Re: HMG 3.4.4

Posted: Wed Apr 15, 2020 1:41 pm
by gfilatov
mustafa wrote: Wed Apr 15, 2020 7:35 am ...
See what appears with this code

Regards
Mustafa
Hello Mustafa,

My result is below :lol:

Re: HMG 3.4.4

Posted: Wed Apr 15, 2020 1:55 pm
by mustafa
Hello Master Grigory, how are you?

My sample with Minigui Extended

PD: I am not updated, sorry :lol: :mrgreen:

Regards
Mustafa