HMG Extended Edition version 19.04 (Update 1 and 2)

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

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by serge_girard »

Hi Gregory,

This gives a lot of:

Code: Select all

call ..\batch\compile.bat xautos %1 /m /l hbssl /l sddmy /l hbsqldd /l sddodbc /l BosTaurus /l hmg_hpdf /l hbhpdf /l libhpdf /l png /l hbzlib %2 %3 %4 %5 %6 %7 %8 %9

....
Error: Unresolved external '_SSL_set_accept_state' referenced from P:\HMG.19.04\HARBOUR\LIB
Error: Unresolved external '_SSL_set_connect_state' referenced from P:\HMG.19.04\HARBOUR\LI
Error: Unresolved external '_SSL_set_verify' referenced from P:\HMG.19.04\HARBOUR\LIB\HBSSL
Error: Unresolved external '_SSL_set_quiet_shutdown' referenced from P:\HMG.19.04\HARBOUR\L
Error: Unresolved external '_SSL_set_msg_callback' referenced from P:\HMG.19.04\HARBOUR\LIB
Error: Unresolved external '_ERR_load_crypto_strings' referenced from P:\HMG.19.04\HARBOUR\
Error: Unresolved external '_ERR_print_errors' referenced from P:\HMG.19.04\HARBOUR\LIB\HBS
Error: Unresolved external '_ERR_get_error' referenced from P:\HMG.19.04\HARBOUR\LIB\HBSSL.
Error: Unresolved external '_ERR_peek_error' referenced from P:\HMG.19.04\HARBOUR\LIB\HBSSL
Error: Unresolved external '_ERR_peek_last_error' referenced from P:\HMG.19.04\HARBOUR\LIB\
Error: Unresolved external '_ERR_error_string_n' referenced from P:\HMG.19.04\HARBOUR\LIB\H
Error: Unresolved external '_ERR_lib_error_string' referenced from P:\HMG.19.04\HARBOUR\LIB
Error: Unresolved external '_ERR_get_error_line' referenced from P:\HMG.19.04\HARBOUR\LIB\H
Error: Unresolved external '_ERR_peek_error_line' referenced from P:\HMG.19.04\HARBOUR\LIB\
Error: Unresolved external '_ERR_peek_last_error_line' referenced from P:\HMG.19.04\HARBOUR
Error: Unresolved external '_ERR_get_error_line_data' referenced from P:\HMG.19.04\HARBOUR\
Error: Unresolved external '_ERR_peek_error_line_data' referenced from P:\HMG.19.04\HARBOUR
Error: Unresolved external '_ERR_peek_last_error_line_data' referenced from P:\HMG.19.04\HA
...
Also tried to compile as following:

Code: Select all

call ..\batch\hbmk2.bat %* xautos.hbp xautos.hbc 
xautos.HBC

Code: Select all

inc=yes
head=native
libs=hbssl
libs=libeay32
libs=ssleay32
xautos.HBP

Code: Select all

xautos.prg
hbssl.hbc
This results in :

Code: Select all

Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
Error INITA1.RC 3 59: Cannot open file: P:\HMG.19.04\XAUTOS\INITA2.EXE
hbmk2[xautos]: Error: Running resource compiler. 20018
INITA2.prg exists but it is not aksed to be compiled!

Thanks for helping me out!

Serge
There's nothing you can do that can't be done...
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by gfilatov »

Serge,

Please add also the following two libraries in your script:
/l libeay32 /l ssleay32
for pacifying the SSL errors. :arrow:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by serge_girard »

Thanks Grigory, this compiles without error but now a runtime error I've never seen before:

Can't find ordinal 135 in DLL file LIBMYSQL.DLL

Serge
There's nothing you can do that can't be done...
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by vagblad »

Serge,

I think either the dll file is corrupted or not in the compile directory or wrong version.
I am attaching a libmysql.ddl which i am using when compiling with Mini.
Attachments
LIBMYSQL.zip
(928.02 KiB) Downloaded 220 times
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by serge_girard »

Thanks Vagelis,

I will try, but it would be surprising because I copied all my sources + DLL + everything to a new HMGext folder.

Very strange... I copied your DLL , recompiled and run and now I get this:

Can't find ordinal 4601in DLL file LIBEAY32.DLL

Can you please zip LIBEAY32.DLL + SSLEAY32.DDL for me?

Serge
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by serge_girard »

well, well...

I deleted LIBEAY32.DLL and then programs starts but ends with this error:

Code: Select all

Control : unrecognized property 'HEADERDYNAMICFONT'.

FOR a = 1 to nColumnCount  
      SetProperty( "Form_1","Grid_AUTOS","HeaderDYNAMICFONT",a, {|| {"Verdana", 8, TRUE} } )
      SetProperty( "Form_1","Grid_AUTOS","ColumnDYNAMICFONT",a, {|| {"Verdana", 8, FALSE} } )
      SetProperty( 'Form_1','Grid_AUTOS',"HeaderDYNAMICBACKCOLOR", a, {|| {180,208,200} } )
NEXT a
Apparantly HMG-ext has no HeaderDYNAMICFONT, ColumnDYNAMICFONT and HeaderDYNAMICBACKCOLOR. Are there alternatives? Or how can I find them?

Serge
There's nothing you can do that can't be done...
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by gfilatov »

Serge,
serge_girard wrote: Thu Jun 13, 2019 4:43 pm Apparantly HMG-ext has no HeaderDYNAMICFONT, ColumnDYNAMICFONT and HeaderDYNAMICBACKCOLOR.
Yes, it is a true.
serge_girard wrote: Thu Jun 13, 2019 4:43 pm Are there alternatives? Or how can I find them?
The alternate modus is a using of a power TBROWSE control which is based on the TSBrowse library.

It is a recommended way in the MiniGUI Ex. :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by serge_girard »

Thanks,

These changes (from HMG grid to HMG-ext Tbrowse) will takes to much time for a small project!
One more question: how to prevent in compile.bat running EXE after compilation?

Thx, Serge
There's nothing you can do that can't be done...
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by gfilatov »

serge_girard wrote: Thu Jun 13, 2019 6:54 pm One more question: how to prevent in compile.bat running EXE after compilation?
Serge,

Please try /nx switch: :arrow:
/NX No run, compile and link only
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG Extended Edition version 19.04 (Update 1 and 2)

Post by serge_girard »

Thanks Grigory, so much to learn, again...


Serge
There's nothing you can do that can't be done...
Post Reply