Harbour MiniGUI Extended Edition 23.04 (Update 1)

392 views
Skip to first unread message

Grigory Filatov

unread,
May 16, 2023, 4:28:54 AM5/16/23
to Harbour Minigui
Hi All,

I'm pleased to announce the Update 1 of MiniGUI build 23.04.

I've uploaded the updated setup for Borland C++ 5.8.2 (32-bit) at

http://hmgextended.com/files/CONTRIB/hmg-23.04-setup.exe

Whatsnew:

2023/05/16: HMG Extended Edition version 23.04 (Update 1).
  * Enhanced: New GetCPUInfo() function was used in the Error logging
           routine.
           Contributed by Grigory Filatov <gfil...@gmail.com>
           (see demo in folder \samples\Basic\ShowDetailError)
  * Enhanced: Added a new optional clause HOTKEY <KeyName> to the
           CREATE LINK FILE command.
           Contributed by Grigory Filatov <gfil...@gmail.com>
           (see demo in folder \samples\Basic\CreateLink)
  * Updated: Unneeded casting of the C-code was removed in some places.
           Contributed by Grigory Filatov <gfil...@gmail.com>
  * Updated: Added use of low-level resource management system to C code
           of CreateGradientBrush() function.
           Contributed by Grigory Filatov <gfil...@gmail.com>
           (see demo in folder \samples\Advanced\SetThemes)
  * Updated: HBPrinter library:
           - further parameter substitution in C-code using macros from
             the header file mgdefs.h.
           Contributed by Grigory Filatov <gfil...@gmail.com>
           (see source in folder \Source\HBPrinter)
  * Updated: HbSQLite3 library:
           - update for using SQLITE3 version 3.42.0 (from 3.41.2).
           Contributed by Grigory Filatov <gfil...@gmail.com>
  * Updated: Harbour Compiler 3.2.0dev (SVN 2023-05-12 18:13).
           Contributed by Grigory Filatov <gfil...@gmail.com>
           (look at ReadMe.txt in folder \harbour)
  * Updated: 'Tree Menu' sample: added useful function
           TreeItemGetPathValue ( ControlName, ParentForm, nItem ).
           Adapted for Minigui Extended by Grigory Filatov
           (see in folder \samples\Basic\TreeMenu_2)
  * Updated: 'PageScript 32 test' sample:
           - update external app Viewer.exe to version 1.2 (from 1.0).
           Contribution of Richard Visscher <richard/at/irvis.com>
           (see in folder \samples\Advanced\PageScript)

The auxiliary add-on binary archive for correct launch Advanced samples
have also been updated on the MiniGUI homepage.

Upgrading to this update is recommended.

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Marcelo Antonio Lázzaro Carli

unread,
May 16, 2023, 7:20:31 AM5/16/23
to Grigory Filatov, Harbour Minigui

Thank you

 

 

 

Att.

 

                Marcelo A. L. Carli

                      Marília/SP

         Capital Nacional do Alimento ®

      https://malc-informatica.ueniweb.com

                 Insta: @malcarli25

      Email / Skype: malc...@life.com.br

 

******************************************************************************

Se for repassar, apague o meu nome e endereço.

Ajude a combater a propagação de vírus e spams

coloque TODOS os destinatários em CÓPIA OCULTA (Cco / Bcc)

******************************************************************************

--
Visit our website on https://www.hmgextended.com/ or https://www.hmgextended.org/
---
You received this message because you are subscribed to the Google Groups "Harbour Minigui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minigui-foru...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/minigui-forum/ca79ab3e-250b-40a0-bdbd-98a079a36960n%40googlegroups.com.


Não contém vírus.www.avast.com

Ross McKenzie

unread,
May 16, 2023, 9:04:07 AM5/16/23
to Harbour Minigui
Many thanks Grigory.

Cheers, Ross

Marcelo Antonio Lázzaro Carli

unread,
May 16, 2023, 9:12:39 AM5/16/23
to Grigory Filatov, Harbour Minigui

Good morning, I updated to version 23.04 (Update 1) and I went to compile a program and it has these errors. If I compile with the previous version, it gives no error. What changed and how to solve it? thanks

 

 

Bom dia, eu atualizei para a versão 23.04 (Update 1) e eu fui compilar um programa e está com esses erros. Se eu compilo com a versão anterior, não dá erro. O que mudou e como resolver? Obg

 

 

****************** Classe para Pesquisar Cep ***********************************

#include <hbclass.ch>

 

CREATE CLASS ViaCep

   VAR oCep

   VAR cCep         INIT []

   VAR cIbge        INIT []

   VAR cLogradouro  INIT []

   VAR cComplemento INIT []

   VAR cBairro      INIT []

   VAR cLocalidade  INIT []

   VAR cUf          INIT []

   VAR cDdd         INIT []

   VAR cGia         INIT []

   VAR cSiafi       INIT []

 

   METHOD New(cCEP)

ENDCLASS

  

METHOD New(cCep) CLASS ViaCep

   Local cArquivo:= Hb_OemToAnsi(Hb_Utf8ToStr(DownloadTexto([http://viacep.com.br/ws/] + cCep + [/piped/]))), aHtml:= hb_aTokens(cArquivo, [|])

 

   If Len(aHtml) < 7

      Return (Nil)

   Endif

   

   ::cCep        := Substr(aHtml[1] , AT([:], aHtml[1])  + 1)

   ::cLogradouro := Substr(aHtml[2] , AT([:], aHtml[2])  + 1)

   ::cComplemento:= Substr(aHtml[3] , AT([:], aHtml[3])  + 1)

   ::cBairro     := Substr(aHtml[4] , AT([:], aHtml[4])  + 1)

   ::cLocalidade := Substr(aHtml[5] , AT([:], aHtml[5])  + 1)

   ::cUf         := Substr(aHtml[6] , AT([:], aHtml[6])  + 1)

   ::cIbge       := Substr(aHtml[7] , AT([:], aHtml[7])  + 1)

   ::cGia        := Substr(aHtml[8] , AT([:], aHtml[8])  + 1)

   ::cDdd        := Substr(aHtml[9] , AT([:], aHtml[9])  + 1)

   ::cSiafi      := Substr(aHtml[10], AT([:], aHtml[10]) + 1)

Return Self

****************** Fim da Classe para Pesquisar Cep ****************************

 

 

De: minigu...@googlegroups.com [mailto:minigu...@googlegroups.com] Em nome de Grigory Filatov
Enviada em: terça-feira, 16 de maio de 2023 05:29
Para: Harbour Minigui <minigu...@googlegroups.com>
Assunto: [harbourminigui] Harbour MiniGUI Extended Edition 23.04 (Update 1)

 

Hi All,

--

Visit our website on https://www.hmgextended.com/ or https://www.hmgextended.org/
---
You received this message because you are subscribed to the Google Groups "Harbour Minigui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minigui-foru...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/minigui-forum/ca79ab3e-250b-40a0-bdbd-98a079a36960n%40googlegroups.com.


Não contém vírus.www.avast.com
image001.png

dfpro...@gmail.com

unread,
May 16, 2023, 9:49:35 AM5/16/23
to Harbour Minigui
i am sorry to disturb but i hve the same problem
Daniele

Grigory Filatov

unread,
May 16, 2023, 9:53:13 AM5/16/23
to Harbour Minigui
Hi Marcelo,

Thanks for your report!

It is expected behavior for a class handling after Harbour compiler update 2023-05-12 18:13.

how to solve it?
Just add the Harbour switch -w to your make script.

Regards,
Grigory

вторник, 16 мая 2023 г. в 15:12:39 UTC+2, malc...@life.com.br:

Marcelo Antonio Lázzaro Carli

unread,
May 16, 2023, 10:34:45 AM5/16/23
to Grigory Filatov, Harbour Minigui

 

 

Thanks for the answer, but now it gives more errors than it used to. How to solve this now?

thanks

 

 

 

Obrigado pela resposta, mas agora deu mais erros, que não dava. Como resolver agora isto?

Obg

 

 

Script

 

@echo off

 

rem Builds Harbour library malc.lib.

 

:OPT

  call ..\..\batch\makelibopt.bat malc h

  if %MV_EXIT%==Y    goto END

  if %MV_DODONLY%==Y goto CLEANUP

 

:BUILD

  if exist %MV_BUILD%\malc.lib del %MV_BUILD%\malc.lib

  %MV_HRB%\bin\harbour c:\tools\newpcmso\funcoes.prg c:\tools\newpcmso\sefazclass-master\hbnfeemail.prg -n1 -gc0 -es2 -i%MV_HRB%\include;%MG_ROOT%\include

 

  %MG_BCC%\bin\bcc32 -c -w -O2 -tW -tWM -d -a8 -OS -5 -6 -I%MV_HRB%\include;%MG_BCC%\include -L%MV_HRB%\lib;%MG_BCC%\lib funcoes.c hbnfeemail.c

 

  %MG_BCC%\bin\tlib %MV_BUILD%\malc.lib +funcoes.obj +hbnfeemail.obj

 

  if exist %MV_BUILD%\malc.bak del %MV_BUILD%\malc.bak

pause

:CLEANUP

  if %MV_DODEL%==N      goto END

  if exist *.obj   del *.obj

  if exist *.c     del *.c

 

:END

  call ..\..\batch\makelibend.bat

image001.png

Grigory Filatov

unread,
May 16, 2023, 10:44:01 AM5/16/23
to Harbour Minigui
now it gives more errors
It is expected too ;-)

How to solve this now?
Try to clean your Harbour code for the unrefereced variables and procedures which return value (it should be the functions, of course).

That's all.

Grigory
вторник, 16 мая 2023 г. в 16:34:45 UTC+2, malc...@life.com.br:

Ivanil Marcelino

unread,
May 16, 2023, 2:00:21 PM5/16/23
to Harbour Minigui
Olá Marcelo;

Por hora, pegue o hbmk2.exe da minigui anterior e sobreponha o novo que esta na pasta harbour\bin;

dfpro...@gmail.com

unread,
May 17, 2023, 2:12:53 AM5/17/23
to Harbour Minigui
Mr. Ivanil, you are a saint !!
thanks very very very much

Daniele

Anand Gupta

unread,
May 17, 2023, 1:39:00 PM5/17/23
to Grigory Filatov, Harbour Minigui
Thanks for the update, Grigory.

Regards,

Anand

--
Reply all
Reply to author
Forward
0 new messages