?JoséQuintas escreveu:hwgui não tem o prefixo hwgui_
tópico ou fórum errado... HWGUI?

Moderador: Moderadores
?JoséQuintas escreveu:hwgui não tem o prefixo hwgui_
por favor, nos mostre onde cometemos essa falha de copiar uma coisa de um e do outro, pra gente deletar e refazer.JoséQuintas escreveu:não se pode copiar arquivos de projetos diferentes e querer que funcione.
entrei no link, cliquei em CODE, baixei como zip e descompactei-o.JoséQuintas escreveu:https://github.com/JoseQuintas/hmg
1 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_core
2 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_crypt
3 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_edit
4 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_editex
5 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_graph
6 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_ini
7 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_report
8 c:/mv/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmg_hfcl
como resolver?
ok estou recriando o hmg.hbp com este comando...JoséQuintas escreveu:na raiz HMG e hbmk2 *.hbp
Microsoft Windows [versão 10.0.19042.746]
(c) 2020 Microsoft Corporation. Todos os direitos reservados.
C:\Users\micro>cd\MV\hmg.jpa
C:\MV\hmg.jpa>dir *.hbp
O volume na unidade C é W10
O Número de Série do Volume é 1092-3D98
Pasta de C:\MV\hmg.jpa
15/01/2021 19:44 219 hmg.hbp
1 arquivo(s) 219 bytes
0 pasta(s) 153.445.093.376 bytes disponÃveis
C:\MV\hmg.jpa>hbmk2 *.hbp
hbmk2: Gerando sub-projeto (passo 2): source\hmg_core.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
../../../../../../MVinfo/hmg.jpa/source/BosTaurus/c_BosTaurus.c: In function 'bt_Load_GDIplus':
../../../../../../MVinfo/hmg.jpa/source/BosTaurus/c_BosTaurus.c:501:34: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(ULONG_PTR)' [-Wcast-function-type]
501 | GdiPlusShutdown = (Func_GdiPlusShutdown) GetProcAddress (GdiPlusHandle, "GdiplusShutdown");
| ^
../../../../../../MVinfo/hmg.jpa/source/c_richeditbox.c: In function 'HB_FUN_RICHEDITBOX_GETPARAFORMAT':
../../../../../../MVinfo/hmg.jpa/source/c_richeditbox.c:832:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
832 | else if ( ParaFormat2.wAlignment == PFA_JUSTIFY )
| ^~
../../../../../../MVinfo/hmg.jpa/source/c_richeditbox.c:835:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
835 | hb_stornl ((LONG) Alignment, 2);
| ^~~~~~~~~
In file included from ../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c:64:
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c: In function 'win_ImageDirectoryEntryToData':
c:\mvinfo\hmg.jpa\include\hmg_unicode.h:234:15: warning: cast between incompatible function types from 'FARPROC' to 'void * (__attribute__((stdcall)) *)(void *, BOOLEAN, USHORT, ULONG *)' [-Wcast-function-type]
234 | pfunc = (PFUNC) GetProcAddress (hLib, _DLL_FUNC_NAMESTRINGAW);\
| ^
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c:1468:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
1468 | HMG_DEFINE_DLL_FUNC ( win_ImageDirectoryEntryToData, // user function name
| ^~~~~~~~~~~~~~~~~~~
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c: In function 'win_ImageRvaToVa':
c:\mvinfo\hmg.jpa\include\hmg_unicode.h:234:15: warning: cast between incompatible function types from 'FARPROC' to 'void * (__attribute__((stdcall)) *)(struct _IMAGE_NT_HEADERS *, void *, ULONG, struct _IMAGE_SECTION_HEADER **)' [-Wcast-function-type]
234 | pfunc = (PFUNC) GetProcAddress (hLib, _DLL_FUNC_NAMESTRINGAW);\
| ^
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c:1478:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
1478 | HMG_DEFINE_DLL_FUNC ( win_ImageRvaToVa, // user function name
| ^~~~~~~~~~~~~~~~~~~
hbmk2: Gerando sub-projeto (passo 2): source\crypt\hmg_crypt.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\edit\hmg_edit.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\editex\hmg_editex.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\graph\hmg_graph.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\ini\hmg_ini.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\report\hmg_report.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): hfcl\source\hmg_hfcl.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
../../../../../../MVinfo/hmg.jpa/hfcl/source/c_qhtm.c: In function 'HB_FUN_QHTM_PRINTDESTROYCONTEXT':
../../../../../../MVinfo/hmg.jpa/hfcl/source/c_qhtm.c:539:42: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(QHTMCONTEXT)' [-Wcast-function-type]
539 | QHTM_PRINTDESTROYCONTEXT pFunc = ( QHTM_PRINTDESTROYCONTEXT ) GetProcAddress( hQhtmDll, "QHTM_PrintDestroyContext" );
| ^
hbmk2: Gerando sub-projeto (passo 2): source\hmg_core.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
../../../../../../MVinfo/hmg.jpa/source/BosTaurus/c_BosTaurus.c: In function 'bt_Load_GDIplus':
../../../../../../MVinfo/hmg.jpa/source/BosTaurus/c_BosTaurus.c:501:34: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(ULONG_PTR)' [-Wcast-function-type]
501 | GdiPlusShutdown = (Func_GdiPlusShutdown) GetProcAddress (GdiPlusHandle, "GdiplusShutdown");
| ^
../../../../../../MVinfo/hmg.jpa/source/c_richeditbox.c: In function 'HB_FUN_RICHEDITBOX_GETPARAFORMAT':
../../../../../../MVinfo/hmg.jpa/source/c_richeditbox.c:832:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
832 | else if ( ParaFormat2.wAlignment == PFA_JUSTIFY )
| ^~
../../../../../../MVinfo/hmg.jpa/source/c_richeditbox.c:835:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
835 | hb_stornl ((LONG) Alignment, 2);
| ^~~~~~~~~
In file included from ../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c:64:
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c: In function 'win_ImageDirectoryEntryToData':
c:\mvinfo\hmg.jpa\include\hmg_unicode.h:234:15: warning: cast between incompatible function types from 'FARPROC' to 'void * (__attribute__((stdcall)) *)(void *, BOOLEAN, USHORT, ULONG *)' [-Wcast-function-type]
234 | pfunc = (PFUNC) GetProcAddress (hLib, _DLL_FUNC_NAMESTRINGAW);\
| ^
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c:1468:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
1468 | HMG_DEFINE_DLL_FUNC ( win_ImageDirectoryEntryToData, // user function name
| ^~~~~~~~~~~~~~~~~~~
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c: In function 'win_ImageRvaToVa':
c:\mvinfo\hmg.jpa\include\hmg_unicode.h:234:15: warning: cast between incompatible function types from 'FARPROC' to 'void * (__attribute__((stdcall)) *)(struct _IMAGE_NT_HEADERS *, void *, ULONG, struct _IMAGE_SECTION_HEADER **)' [-Wcast-function-type]
234 | pfunc = (PFUNC) GetProcAddress (hLib, _DLL_FUNC_NAMESTRINGAW);\
| ^
../../../../../../MVinfo/hmg.jpa/source/c_winapimisc.c:1478:1: note: in expansion of macro 'HMG_DEFINE_DLL_FUNC'
1478 | HMG_DEFINE_DLL_FUNC ( win_ImageRvaToVa, // user function name
| ^~~~~~~~~~~~~~~~~~~
hbmk2: Gerando sub-projeto (passo 2): source\crypt\hmg_crypt.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\edit\hmg_edit.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\editex\hmg_editex.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\graph\hmg_graph.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\ini\hmg_ini.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): source\report\hmg_report.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Gerando sub-projeto (passo 2): hfcl\source\hmg_hfcl.hbp
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
../../../../../../MVinfo/hmg.jpa/hfcl/source/c_qhtm.c: In function 'HB_FUN_QHTM_PRINTDESTROYCONTEXT':
../../../../../../MVinfo/hmg.jpa/hfcl/source/c_qhtm.c:539:42: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(QHTMCONTEXT)' [-Wcast-function-type]
539 | QHTM_PRINTDESTROYCONTEXT pFunc = ( QHTM_PRINTDESTROYCONTEXT ) GetProcAddress( hQhtmDll, "QHTM_PrintDestroyContext" );
| ^
C:\MV\hmg.jpa>
Lines 21089, Functions/Procedures 32
Generating C source output to 'C:\Users\micro\AppData\Local\Temp\hbmk_1bwkzz.dir\ROTINAS.c'... Done.
E, agora José?
compilei, mas, havia esquecido que tinha comentado "#" dentro .HBP que tinha a condição "-o" para compilar com o nome do .exe que eu quero kkkJoséQuintas escreveu:Agora recompile o projeto.
compilou belezinha...
compilando com .BAT personalizado, demorou 01 minuto e 13 segundos, mas:
compilando usando a IDE/HMG.3.5, demorou 01 minuto e 16 segundos, mas:
compilando com .BUILD do Dr. Soto, demorou 01 minuto e 21 segundos, mas:
microvolution escreveu:- observei que a tela ficou mais enxuta, parecendo um estilo windows xp, sendo que estou no windows 10.
## uncomment next lines to use unicode
##CFLAGS=-DCOMPILE_HMG_UNICODE
##PRGFLAGS=-DCOMPILE_HMG_UNICODE
Usuários vendo este fórum: Nenhum usuário registrado online e 7 visitantes