Page 2 of 3

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

Posted: Thu Jun 13, 2019 1:28 pm
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

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

Posted: Thu Jun 13, 2019 1:43 pm
by gfilatov
Serge,

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

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

Posted: Thu Jun 13, 2019 1:58 pm
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

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

Posted: Thu Jun 13, 2019 3:21 pm
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.

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

Posted: Thu Jun 13, 2019 4:12 pm
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

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

Posted: Thu Jun 13, 2019 4:43 pm
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

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

Posted: Thu Jun 13, 2019 5:09 pm
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:

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

Posted: Thu Jun 13, 2019 6:54 pm
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

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

Posted: Thu Jun 13, 2019 7:03 pm
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

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

Posted: Thu Jun 13, 2019 7:11 pm
by serge_girard
Thanks Grigory, so much to learn, again...


Serge