HMG 3.4.4

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
Ismach
Posts: 121
Joined: Wed Nov 28, 2012 5:55 pm
DBs Used: DBF, mySQL, Mariadb, postgreSQL, Oracle, Db2, Interbase, Firebird, and SQLite
Location: Buenos Aires - Argentina
Been thanked: 9 times

Re: HMG 3.4.4

Post 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>

User avatar
tonton2
Posts: 318
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 11 times
Been thanked: 14 times
Contact:

Post 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
Attachments
gestion_HBP.rar
(470 Bytes) Downloaded 271 times
L'Algerie vous salut
Y.TABET

User avatar
mustafa
Posts: 972
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 190 times
Contact:

Post 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
Attachments
Imagen.jpg
Imagen.jpg (22.26 KiB) Viewed 24419 times

User avatar
tonton2
Posts: 318
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 11 times
Been thanked: 14 times
Contact:

Post by tonton2 »

Salam alykoum et merci beaucoup mon ami
L'Algerie vous salut
Y.TABET

User avatar
mol
Posts: 3359
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 256 times
Been thanked: 163 times
Contact:

Post 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.

User avatar
mustafa
Posts: 972
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 190 times
Contact:

Post 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
Attachments
Pantallazo.jpg
Pantallazo.jpg (11.22 KiB) Viewed 6970 times

User avatar
mol
Posts: 3359
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 256 times
Been thanked: 163 times
Contact:

Post by mol »

I'm using 32 bit only and my app reports 3.4.4
Last edited by mol on Wed Apr 15, 2020 12:09 pm, edited 1 time in total.

User avatar
mustafa
Posts: 972
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 190 times
Contact:

Post by mustafa »

ok ! Marek

Regards
Mustafa

User avatar
gfilatov
Posts: 741
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 27 times
Been thanked: 349 times
Contact:

Post 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:
Attachments
vers.png
vers.png (5.75 KiB) Viewed 6918 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
mustafa
Posts: 972
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 190 times
Contact:

Post by mustafa »

Hello Master Grigory, how are you?

My sample with Minigui Extended

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

Regards
Mustafa
Attachments
Pantallazo2.jpg
Pantallazo2.jpg (13.24 KiB) Viewed 6912 times

Post Reply