Page 3 of 5

Re: HMG 3.6 (64 bit version)

Posted: Fri May 12, 2023 3:15 pm
by Red2
Hello Rathi and Grigory,

When the 3.6 Setup file link was posted it was stated, "I am sharing the setup file for your testing and comments."

Quick Question:
In the future will there be a "final" 3.6 Setup file that includes the relevant "testing and comments" feedback?

Again, thank you for all of your generous contributions!

Re: HMG 3.6 (64 bit version)

Posted: Sat May 13, 2023 11:07 am
by Rathinagiri
Red2 wrote: Fri May 12, 2023 3:15 pm Hello Rathi and Grigory,

When the 3.6 Setup file link was posted it was stated, "I am sharing the setup file for your testing and comments."

Quick Question:
In the future will there be a "final" 3.6 Setup file that includes the relevant "testing and comments" feedback?

Again, thank you for all of your generous contributions!
Yes, I am working for a final version which is containing all the fixes mentioned in this topic. I am happy that people are contributing 64 bit libraries for many APIs. I have compiled for MariaDB/MySQL server which also requires the libmysql.dll also 64n bit. Let me share later.

Re: HMG 3.6 (64 bit version)

Posted: Sat May 13, 2023 3:22 pm
by tonton2
Rathinagiri wrote: Sat May 13, 2023 11:07 am
Red2 wrote: Fri May 12, 2023 3:15 pm Hello Rathi and Grigory,

When the 3.6 Setup file link was posted it was stated, "I am sharing the setup file for your testing and comments."

Quick Question:
In the future will there be a "final" 3.6 Setup file that includes the relevant "testing and comments" feedback?

Again, thank you for all of your generous contributions!
Yes, I am working for a final version which is containing all the fixes mentioned in this topic. I am happy that people are contributing 64 bit libraries for many APIs. I have compiled for MariaDB/MySQL server which also requires the libmysql.dll also 64n bit. Let me share later.
merci beaucoup

Re: HMG 3.6 (64 bit version)

Posted: Sat May 13, 2023 11:59 pm
by jorge.posadas
Yes, I am working for a final version which is containing all the fixes mentioned in this topic. I am happy that people are contributing 64 bit libraries for many APIs. I have compiled for MariaDB/MySQL server which also requires the libmysql.dll also 64n bit. Let me share later.

Excelente yo empiezo a hacer pruebas con MariaDB y me da gusto que en esta version de 64b se empiece a ver MariaDB, es algo que tengo mucho interes en aprender.

Felicidades por esta version de 64b era algo que estaba esperando desde hace tiempo

Re: HMG 3.6 (64 bit version)

Posted: Sun May 14, 2023 8:54 am
by serge_girard
Thanks Jorge, let me know about libmysql.dll and MariaDB/MySQL server!

Serge

Re: HMG 3.6 (64 bit version)

Posted: Mon May 15, 2023 2:48 pm
by Red2
I have done some more testing of the initial (3.6) HMG 64-bit build.

It appears to me that Jimmy's Debugger improvement, his "ON DBLCLICK"
improvement, is not available in this initial 64-bit build.
See: viewtopic.php?f=12&t=6173&p=59887

HMG.3.5 includes this feature but it does not work in 3.6.
Could you consider adding this improvement to 3.6?

Thank you!

Re: HMG 3.6 (64 bit version)

Posted: Tue May 16, 2023 4:11 pm
by Red2
May I suggest one small and easy improvement in HMG' IDE?
It would be clearer (example here is in English) if item #31 in the IDE's ".ANS" language file was charged from:
Delete File
to
Remove file from Project

The phrase "Delete File" can (incorrectly) suggest deletion from the File System.
Thank you for your consideration.

Re: HMG 3.6 (64 bit version)

Posted: Wed May 17, 2023 8:36 am
by serge_girard
The phrase "Delete File" can (incorrectly) suggest deletion from the File System.
Indeed !

Serge

Re: HMG 3.6 (64 bit version)

Posted: Wed May 17, 2023 1:58 pm
by edk
hblibxlsxwriter 64 bit little progress.

I compiled the latest version of libxlsxwriter (https://github.com/jmcnamara/libxlsxwriter).
I used MSYS2 (https://www.msys2.org/) and the mingw64 package (https://packages.msys2.org/package/ming ... po=mingw64) - installation: pacman -S mingw-w64-x86_64-gcc
This is how I got the libxlsxwriter.dll library.

Then I used the latest wrapper for Harbor (https://github.com/FTrautwein/hblibxlsxwriter) to compile the libhblibxlsxwriter.a library.

I tried to run a test demo, but as Jimmy wrote (http://hmgforum.com/viewtopic.php?p=627 ... 46f#p62736), loading libxlsxwriter.dll returned me Nil also.
It turned out that zlib1.dll is also needed for libxlsxwriter.dll to load.
zlib1.dll is used to compress the output xlsx file.

The test program was already running, but when calling the pointers in the libxlsxwriter.dll library, errors such as:
Unrecoverable error 6005: Exception error:

Exception Code:C0000005 ACCESS_VIOLATION
Exception Address:00007FF97F26B518


In the hblibxlsxwriter.prg wrapper, I changed the library call from

Code: Select all

hb_DynCall( { cProc, nHDll, HB_DYN_CALLCONV_SYSCALL }, ... )
to

Code: Select all

hb_DynCall( { cProc, nHDll, hb_bitOr( HB_DYN_CTYPE_VOID_PTR, HB_DYN_CALLCONV_STDCALL ) }, ... )

Now the test application creates the demo.xlsx file, but there is another problem, namely all numeric variables sent to the library return the value 0.

I'm guessing it might be a problem with these pointers, but here I am stuck, my knowledge of C is limited and I can't figure it out any further.

Maybe someone, something...

I send the installation of the hblibxlsxwriter add-on: https://megafile.cc/kjrg/install-alpha- ... g-36exe.7z

The add-on will be installed in c:\hmg.3.6\Add-On\hblibxlsxwriter\
Wrapper sources: c:\hmg.3.6\Add-On\hblibxlsxwriter\hblibxlsxwriter.prg

To compile the wrapper and generate the libhblibxlsxwriter.a library, run the script c:\hmg.3.6\Add-On\hblibxlsxwriter\build_hblibxlsxwriter.bat

Test application source: c:\hmg.3.6\Add-On\hblibxlsxwriter\test\demo.prg
Compiling the test application: c:\hmg.3.6\Add-On\hblibxlsxwriter\test\bl64.bat

libxsxwriter sources: c:\hmg.3.6\Add-On\hblibxlsxwriter\libxlsxwriter_1.1.5-Core\
libxlsxwriter.dll 64 bit: c:\hmg.3.6\Add-On\hblibxlsxwriter\libxlsxwriter_1.1.5-Core\lib\libxlsxwriter.dll
zlib1.dll 64 bit: c:\hmg.3.6\mingw64\bin\zlib1.dll

Re: HMG 3.6 (64 bit version)

Posted: Wed May 17, 2023 2:02 pm
by edk
There is a problem with the console mode under hmg.3.6: if I set the GT driver in the sources: REQUEST HB_GT_WIN_DEFAULT, the application starts but the console window is not visible, you have to kill the application via the task manager.