Página 7 de 9

HMG Releases - Atualizações

Enviado: 20 Fev 2017 10:49
por Claudio Soto
Todavía no tengo previsto la fecha de la nueva versión.

HMG Releases - Atualizações

Enviado: 21 Fev 2017 11:12
por asimoes
Olá Dr. Claudio,

Estou querendo migrar da MiniGUI Extended para HMG 3.4.3 é tranquilo ? essa versão é para mingw ?

HMG Releases - Atualizações

Enviado: 21 Fev 2017 11:53
por Claudio Soto
Si Alexandre HMG OFICIAL sólo se desarrolla para MinGW. Existe un parche reciente para HMG.3.4.3

http://www.hmgforum.com/viewtopic.php?f ... 180#p49428

HMG Releases - Atualizações

Enviado: 22 Fev 2017 23:44
por Nascimento
desculpe-me a minha ignorancia mais quais as diferenças reais entre a minigui extended e a oficial HMG

ja que a extended ela usa tanto o bcc quanto o mingw, a HMG usa por default o mingw

mais o que queria saber é quais as diferenças reais da lib, e nao de compiladores

HMG Releases - Atualizações

Enviado: 23 Fev 2017 08:42
por JoséQuintas
Eu também queria saber, porque não consegui identificar.
À primeira vista parece que a HMG Extended tem mais recursos, mas pelos fontes confunde se na prática tem menos recursos com mais opções.
A única certeza é de que HMG Extended tem mais exemplos interessantes.
E até mesmo o que impediria de unificar as duas, ou até as três OOOHG também.

HMG Releases - Atualizações

Enviado: 20 Mar 2017 11:42
por Claudio Soto
Hola a todos.
Existe un nuevo parche para HMG.3.4.3

http://www.hmgforum.com/viewtopic.php?f ... 200#p50091
*****************
HMG.3.4.3 patch 2
*****************
- Fixed bug in WM_NEXTDLGCTL message ( reported by KDJ )
- Fixed bug in COLUMNCONTROLS (allow lower case labels) in Grid control ( reported by Miszler.zoltan )
- Fixed bug in InplaceEdit cell with press ENTER in Grid Control ( reported by Marek )
- Fixed bug in filter data in Grid with Rowsource ( reported by Tonton2 )
- Fixed bug in change recno() when mouse move over of Grid with Rowsource ( reported by KDJ )
- Fixed bug when call DeleteColumn( 1 ) with a Grid with only one column ( reported by t57042 )
- Fixed bug when change image in Button control ( reported by Chrisjx2002 )
- Fixed bugs in DOC files ( contrib by Pablo Cesar )
- Fixed bug in virtual grid in HMG ANSI version with Chinese characters ( contrib by Huiyi_ch )
- Fixed bug in GetStartUpFolder() function ( contrib by Pablo Cesar )
- New methods BLen, BLeft, BRight, BSubStr in HMG_TString class ( contrib by huiyi_ch )
- Now for default SET WINDOW MAIN FIRST is OFF

NOTE: The RECNO property of the Grid control not changes the current physical record number of the DBF file,
only convert between the row of grid and the recno
of the DBF.
Get Grid.RECNO --> convert Logical record ( grid row ) to Physical record ( DBF recno )
Set Grid.RECNO := XXX --> convert the Physical record XXX ( recno ) to Logical record ( grid row )


HMG Multi-Thread:
- Now HMG support the same behaviour that Harbour for Thread manager: allow run without INHERIT PUBLIC vars, see demos in folder samples/MultiThread
- New many functions for Thread manager( see files source\c_thread.c and include\i_thread.ch): GetCurrentThreadId, GetCurrentThreadHandle,
AttachThreadInput, SuspendThread, ResumeThread, SwitchToThread, Sleep, SetThreadPriority, GetThreadPriority, EnumThreadID,
HMG_ThreadHBtoWinHandle, HMG_ThreadHBtoWinID, HMG_ThreadShareData

- New: IDE ver 1.2, now the option menu delete file not delete file of the disk, only eliminate the file of the project.

HMG Releases - Atualizações

Enviado: 20 Mar 2017 12:16
por JoséQuintas
Não entendi sobre como atualizar.
Devo baixar HMG 3.4.3 ou os patchs 1 e 2?

HMG Releases - Atualizações

Enviado: 20 Mar 2017 13:24
por Claudio Soto
JoséQuintas escreveu:Não entendi sobre como atualizar.
Devo baixar HMG 3.4.3 ou os patchs 1 e 2?
El parche 2 ya incluye al parche 1.

Es solo bajar el parche 2 y descomprimirlo en la carpeta c:\hmg.3.4.3
Luego ejecutar el buildAllLib32.bat

HMG Releases - Atualizações

Enviado: 20 Mar 2017 16:34
por JoséQuintas
Tem que ser com mingw 6.3?
No 5.03 estou recebendo estes erros.

Código: Selecionar todos

In file included from d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c:54:0:
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c: In function 'win_Shell_GetImageLists':
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:202:31: warning: implicit declaration of function 'hb_threadEnterCriticalSection' [-Wimplicit-function-declaration]
    #define _THREAD_LOCK()     hb_threadEnterCriticalSection( &_HMG_Mutex )
                               ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:228:1: note: in expansion of macro '_THREAD_LOCK'
 _THREAD_LOCK();\
 ^
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c:3657:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
 HMG_DEFINE_DLL_FUNC ( win_Shell_GetImageLists,                            // user function name
 ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:202:63: error: '_HMG_Mutex' undeclared (first use in this function)
    #define _THREAD_LOCK()     hb_threadEnterCriticalSection( &_HMG_Mutex )
                                                               ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:228:1: note: in expansion of macro '_THREAD_LOCK'
 _THREAD_LOCK();\
 ^
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c:3657:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
 HMG_DEFINE_DLL_FUNC ( win_Shell_GetImageLists,                            // user function name
 ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:202:63: note: each undeclared identifier is reported only once for each function it appears in
    #define _THREAD_LOCK()     hb_threadEnterCriticalSection( &_HMG_Mutex )
                                                               ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:228:1: note: in expansion of macro '_THREAD_LOCK'
 _THREAD_LOCK();\
 ^
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c:3657:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
 HMG_DEFINE_DLL_FUNC ( win_Shell_GetImageLists,                            // user function name
 ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:203:31: warning: implicit declaration of function 'hb_threadLeaveCriticalSection' [-Wimplicit-function-declaration]
    #define _THREAD_UNLOCK()   hb_threadLeaveCriticalSection( &_HMG_Mutex )
                               ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:236:1: note: in expansion of macro '_THREAD_UNLOCK'
 _THREAD_UNLOCK();\
 ^
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c:3657:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
 HMG_DEFINE_DLL_FUNC ( win_Shell_GetImageLists,                            // user function name
 ^
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c: In function 'win_StrRetToBuf':
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:202:63: error: '_HMG_Mutex' undeclared (first use in this function)
    #define _THREAD_LOCK()     hb_threadEnterCriticalSection( &_HMG_Mutex )
                                                               ^
d:/cvsfiles/allgui/hmg3/INCLUDE/HMG_UNICODE.h:228:1: note: in expansion of macro '_THREAD_LOCK'
 _THREAD_LOCK();\
 ^
d:/cvsfiles/allgui/hmg3/source/c_BosTaurus.c:3693:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
 HMG_DEFINE_DLL_FUNC ( win_StrRetToBuf,
 ^
h

HMG Releases - Atualizações

Enviado: 20 Mar 2017 20:11
por Claudio Soto
HMG utiliza MinGW 5.3.0.

Haciendo memoria, ahora me acuerdo que cuando actualize la versión de MinGW tuve que hacer unos arreglos en algunos archivos fuente porque aparecían unos errores que parecían no tener ninguna lógica.

HMG Releases - Atualizações

Enviado: 21 Mar 2017 20:47
por JoséQuintas
Ok. Olhei o bat e coloquei o parâmetro da forma correta.

HBMK2 -ldflag="-pthread -static -lpthread"

HMG Releases - Atualizações

Enviado: 22 Mar 2017 11:48
por NiltonGM
JoséQuintas escreveu:Ok. Olhei o bat e coloquei o parâmetro da forma correta.

HBMK2 -ldflag="-pthread -static -lpthread"
Olá José Quintas,

Descompactei "HMG.3.4.3_patch_2.rar", rodei buildAllLib32.bat sem nenhum erro, não precisei fazer essa alteração que vc fez. Será q não entendi q talvez vc use outra IDE sem ser a HMG?

HMG Releases - Atualizações

Enviado: 22 Mar 2017 14:01
por JoséQuintas
Não estou testando com os arquivos originais, é por isso.
E como a primeira coisa que faço é apagar todos os BATs, HBPs, etc.... não tinha visto esse parâmetro.

HMG Releases - Atualizações

Enviado: 23 Mar 2017 12:23
por Pablo César
Obrigado Mr. quintas pela sua persistência, dedicação e vontade de fazer melhor.

Falo mais pelo assunto dos Threads em HMG. Eu tinha esquecido de agradecer você também.
Aliás no fórum da HMG eu cito o seu nome.

HMG Releases - Atualizações

Enviado: 29 Mar 2017 21:39
por Claudio Soto
Hola a todos,

Existe una nueva versión de HMG oficial: HMG.3.4.4
http://www.hmgforum.com/viewtopic.php?f=43&t=5198

PD: debido a la falta de tiempo, este es el último release en el que participó como desarrollador:
http://www.hmgforum.com/viewtopic.php?f=43&t=5200

Gracias a todos,
Claudio.