HMG 3.6 (64 bit version)
Moderator: Rathinagiri
-
- Posts: 276
- Joined: Sat May 18, 2019 2:11 pm
- DBs Used: Visual FoxPro, FoxPro
- Location: United States of America
Re: HMG 3.6 (64 bit version)
Hello EDK,
Thank you for your very generous work on adapting hblibxlsxwriter to 64-bit.
Your kind efforts in this (and so many other matters) are much appreciated!
Hopefully others with C experience will share their ideas.
==================================================
Gracias por su generoso trabajo en la adaptación de hblibxlsxwriter a 64 bits.
¡Sus amables esfuerzos en este (y tantos otros asuntos) son muy apreciados!
Con suerte, otros con experiencia en C compartirán sus ideas.
Thank you for your very generous work on adapting hblibxlsxwriter to 64-bit.
Your kind efforts in this (and so many other matters) are much appreciated!
Hopefully others with C experience will share their ideas.
==================================================
Gracias por su generoso trabajo en la adaptación de hblibxlsxwriter a 64 bits.
¡Sus amables esfuerzos en este (y tantos otros asuntos) son muy apreciados!
Con suerte, otros con experiencia en C compartirán sus ideas.
Re: HMG 3.6 (64 bit version)
Hi Edward,
There is not a problem with the console mode.
Please take a look at the attached archive along with the console executable.
Note that the compilation line should be like this
build.bat hello.prg
- Attachments
-
- CONSOLE.ZIP
- (668.32 KiB) Downloaded 5884 times
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: HMG 3.6 (64 bit version)
Hi Grigory, but it's not quite OK.
Maybe I didn't explain exactly what I mean.
In previous versions of HMG, although I called the build without the /c parameter (%gtdrivers% is -gtgui -gtwin), e.g. call c:\hmg.3.4.4\build.bat hello.prg and in the .prg file I had declared REQUEST HB_GT_WIN_DEFAULT then according to this declaration the default driver was GT_WIN.
However, in hmg.3.6 this is not the case. The REQUEST HB_GT_WIN_DEFAULT command is ignored and I have to compile with /c enabled (%gtdrivers% is -gtwin -gtgui). Equally, the same .prg can be without the REQUEST HB_GT_WIN_DEFAULT declaration and compiled with the /c parameter, so why declare it? Yes, to make it work without the /c parameter.
I would like it to be as before so that I don't have to remember that I have some prg. compile differently than the others just because I use the GT_WIN driver. HB_GT_WIN_DEFAULT is declared so this should work and it shouldn't matter which GT drivers are in order.
Re: HMG 3.6 (64 bit version)
Hi,edk wrote: ↑Thu May 18, 2023 8:46 amHi Grigory, but it's not quite OK.
Maybe I didn't explain exactly what I mean.
In previous versions of HMG, although I called the build without the /c parameter (%gtdrivers% is -gtgui -gtwin), e.g. call c:\hmg.3.4.4\build.bat hello.prg and in the .prg file I had declared REQUEST HB_GT_WIN_DEFAULT then according to this declaration the default driver was GT_WIN.
However, in hmg.3.6 this is not the case. The REQUEST HB_GT_WIN_DEFAULT command is ignored and I have to compile with /c enabled (%gtdrivers% is -gtwin -gtgui). Equally, the same .prg can be without the REQUEST HB_GT_WIN_DEFAULT declaration and compiled with the /c parameter, so why declare it? Yes, to make it work without the /c parameter.
I would like it to be as before so that I don't have to remember that I have some prg. compile differently than the others just because I use the GT_WIN driver. HB_GT_WIN_DEFAULT is declared so this should work and it shouldn't matter which GT drivers are in order.
I understand your point of view.
But I guess that it is impossible after the following Harbour modification:
It is a solution of the main Harbour developer2023-01-15 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
...
* src/rtl/hbgtcore.c
* changed the order of defualt GT initialization. Now GT specified by -gt*
hbmk2 option has higher priority then GT chosen by
request HB_GT_<name>_DEFAULT
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
- vientopamperosur
- Posts: 59
- Joined: Thu Aug 28, 2014 10:13 am
- DBs Used: DBF, SQLite, MySQL, MariaDB, PostgreSQL
- Location: Buenos Aires
- Contact:
Re: HMG 3.6 (64 bit version)
Muchas gracias, la probaré y comentaré.
Re: HMG 3.6 (64 bit version)
I downloaded and setup. For building a program I use IDE. But ide.exe is dated 26.03.2017 and is 32 bit. Where can I download 64 bit IDE?Rathinagiri wrote: ↑Wed May 10, 2023 2:11 pm Please test with your existing projects.
If you are using IDE, please select to use IDE for 64 bits. Otherwise use the build64.bat file to build. Any discrepancy please report.
TIA
Robert
Re: HMG 3.6 (64 bit version)
Now everything seems to be ok. When Choosing run in IDE I got a message "build.bat" not found and program terminated. When searching for build.* I found build64.bat. I renamed it to build.bat. Result: a new exe. Size of the old exe: 4389 kb, size of new exe:4637 kbI downloaded and setup. For building a program I use IDE. But ide.exe is dated 26.03.2017 and is 32 bit. Where can I download 64 bit IDE?
TIA
Robert
- Attachments
-
- bild.png (927.53 KiB) Viewed 135486 times
-
- Posts: 276
- Joined: Sat May 18, 2019 2:11 pm
- DBs Used: Visual FoxPro, FoxPro
- Location: United States of America
Re: HMG 3.6 (64 bit version)
Hi Robros,
That worked well for me too!
That worked well for me too!
Re: HMG 3.6 (64 bit version)
Thx for confirming. As you can see on my screenshot, the status line on ide was a bit confusing me.