HMG 3.4.2 + libs GTWVG + GTWVW

Harbour, MingW related news.

Moderator: Rathinagiri

MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

ENGLISH:
HMG 3.4.2 + libs GTWVG + GTWVW
dear teachers and upholders of HMG.
In January / 2015 had the good fortune and opportunity to migrate to clipper harbor by HMG 3.0.35, including the teacher's help Pablo and some others.
When I saw that on the graphics needed to change all the source code, I found some difficulty in the face of the "financial state" that I am and have only one customer and to conquer the market, need something more rápico.
So, I was introduced to GTWVG lib at the end of 2015. Hence also in early 2016 also tested GTWVW. itself comes to IDE and ease and greater number of users without doubt the HMG.
But until the 3.0.46 version not seen in the contrib folder libs GTWVW and GTWVG.
I decided now download the HMG version 3.4.2 and I was very happy for her too understand more things that I had.
Then I was even more pleased to see the GTWVW and GTWVG libs included in the contrib folder.
So I asked myself: "There is here, means it can be used?". Lets test?
So did the changes in the source and the build did not end with the .EXE, but with some errors. The fix, and now left who can not understand and solve.
Here is the error message:
Resource compiler WINDRES -42: duplicate valu
And it opened the error screen also telling my .RC file:

Code: Select all

AppIcon ICON "_ICONES-SiCCA.ico"
BtOrcamento BITMAP "_orcamento.bmp"
BtExtrato BITMAP "_extrato.bmp"
BtCliente BITMAP "_cliente.bmp"
BtBaixar BITMAP "_baixar.bmp"
BtUsuTela BITMAP "_tela.bmp"

#define RT_MANIFEST 24
#define APP_MANIFEST 1
APP_MANIFEST RT_MANIFEST "SiCCA3603.exe.manifest"
Well, one of the teachers, can help me decipher the problem?
Grateful!
MICROVOLUTION
13 years, evolving with you!
http://www.mvinfo.wmx.net.br

PORTUGUESE:
HMG 3.4 + libs GTWVG + GTWVW
prezados professores e mantenedores da HMG.
Em janeiro/2015, tive a felicidade e oportunidade de migrar de clipper para harbour através da HMG 3.0.35, inclusive com a ajuda do professor Pablo e alguns demais.
Quando vi que na parte gráfica precisava alterar todos os códigos fontes, encontrei uma certa dificuldade, em face, do "estado financeiro" que me encontro e ter apenas um cliente e para que conquistasse o mercado, precisaria de algo mais rápico.
Então, me foi apresentada a lib GTWVG no final de 2015. Daí também no início de 2016 testei também GTWVW. em si tratando de IDE e facilidade e maior numero de usuários sem dúvida a hmg.
Mas, até a versão 3.0.46 não vi na pasta contrib a libs GTWVW e GTWVG.
Resolvi baixar agora a versão hmg 3.4.2 e fiquei muito contente, por ela compreender muito mais coisas que a que eu tinha.
Aí, fiquei mais contente ainda por ver as libs GTWVW e GTWVG inclusas na pasta contrib.
Então, me perguntei: "se existe aqui, significa que pode ser usada?". Vamos testar?
Então fiz as alterações no fonte e a compilação não terminou com o .EXE e sim com alguns erros. Os corrigi, e agora, sobrou um que não consigo entender e resolver.
Eis a mensagem do erro:
Resource compiler WINDRES -42: duplicate valu
E abriu a tela de erros também informando meu arquivo .RC:

Code: Select all

AppIcon        	  ICON       "_ICONES-SiCCA.ico"
BtOrcamento       BITMAP     "_orcamento.bmp"
BtExtrato         BITMAP     "_extrato.bmp"
BtCliente         BITMAP     "_cliente.bmp"
BtBaixar          BITMAP     "_baixar.bmp"
BtUsuTela         BITMAP     "_tela.bmp"


#define RT_MANIFEST 24
#define APP_MANIFEST 1
APP_MANIFEST RT_MANIFEST "SiCCA3603.exe.manifest"
Bom, alguém dos professores, consegue me ajudar a decifrar o problema?
grato!
MICROVOLUTION
13 anos, evoluindo com você!
http://www.mvinfo.wmx.net.br
Last edited by MICROVOLUTION on Thu Mar 10, 2016 6:39 pm, edited 1 time in total.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.2 + libs GTWVW + GTWVW

Post by srvet_claudio »

Try with delete:

#define RT_MANIFEST 24
#define APP_MANIFEST 1
APP_MANIFEST RT_MANIFEST "SiCCA3603.exe.manifest"
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

Re: HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

PORTUGUESE:
ok professor Soto
... retirei as linhas que v.Sa. indicou.
Bom, ou melhor, mal, aconteceram os seguintes problemas:

Code: Select all

Harbour 3.2.0dev (r1509031202)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/MVinfo/hmg.3.4.2/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lgtwvg
collect2.exe: error: ld returned 1 exit status
No caso, da guia CONFIGURAÇÃO, coloquei assim:

Code: Select all

incpaths=
libpaths=
libs=gtwvg
gt=gtwin
instpaths=
É como se não existisse essa lib, ou o compilador HMG não encontre o local do arquivo.
Bom, é necessário colocar algum tipo de variáveis de ambiente no Windows 10/64 bits? ou mesmo no win xp?
Grato!
ENGLISH:
ok ... Soto teacher
removed the lines that YOU He indicated.
Good, or rather bad, there were the following problems:

Code: Select all

Harbour 3.2.0dev (r1509031202)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/MVinfo/hmg.3.4.2/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: can not find -lgtwvg
collect2.exe: error: ld returned 1 exit status
In this case, the SETUP tab, put like this:

Code: Select all

incpaths =
libpaths =
libs = gtwvg
gt = gtwin
instpaths =
It is as if there was this lib, or HMG compiler does not find the file location.
Well, you need to put some sort of environment variables in Windows 10/64 bit? or even win xp?
Grateful!
Last edited by MICROVOLUTION on Thu Mar 10, 2016 6:39 pm, edited 1 time in total.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.2 + libs GTWVW + GTWVW

Post by srvet_claudio »

Post a small demo with the problem.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

Re: HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

ENGLISH:
Dear Professor, I do not know if I could explain ...
but the problem is I want to use the lib GTWVG (because I compiled in the arm).
Compiled as follows: * hbmk2 .hbp
turn my ARQUIVO.HBP, and contain the .PRGs contained to calls to libs GTWVG, GTWVW, HBWIN etc ...
Then I realized that HMG came in the contrib folder with GTWVG. So I thought to myself. We came together, it is because it can be used 2 graphics libs together. The very MiniGUI (HMG) and GTWVG.
But in this case, when I put the tab / SETUP tab of the HMG IDE what I call the lib GTWVG, there appears that message already posted.
So dear Dr. Soto, asked me to provide a small snippet of code where the problem occurs.
So the problem only occurs because informed to the IDE that want to use the lib GTWVG.
Well, if I take this statement, the error disappears (for sure), but the functions of GTWVG that are embedded within the code will cause other errors.
See the errors:

Code: Select all

Harbour 3.2.0dev (r1509031202)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/Users/wal/AppData/Local/Temp/hbmk_b17mrf.dir/pci10000.o:pci10000.c:(.data+0x248): undefined reference to `HB_FUN_WVG_IMAGE'
C:/Users/wal/AppData/Local/Temp/hbmk_b17mrf.dir/pci10000.o:pci10000.c:(.data+0x348): undefined reference to `HB_FUN_WVG_BOXRAISED'
mpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib   -Wl,--end-group -oSiCCA3603.exe  -LC:/MVinfo/hmg.3.4.2/harbour/lib/win/mingw -LC:/MVinfo/hmg.3.4.2/lib
hbmk2: Dica: Adicionar op‡o 'gtwvg.hbc' faltando nas fun‡es:
       Wvg_BoxRaised(), Wvg_Image()
By the way, I will eliminate LIB = GTWVG line (Configuration tab) and leave with nothing: LIB =
See, the "small application stretch" which is the first mistake the lack of LIB GTWVG:

Code: Select all

Wvg_Image     ( 10 , 10 , 20 , 60 ,  , GOBJ_IMAGESOURCE_FILE, Splash , , .f. )  // eliminado temporariamente 7/3/16w
Wvg_BoxRaised ( 10 , 10 , 20 , 60 ) // eliminado temporariamente 7/3/16w
No more, await new instructions!
Grateful!
MICROVOLUTION

PORTUGUESE:
Prezado professor, não sei se consegui lhe explicar...
mas, o problema é que quero usar a lib GTWVG (pois eu compilava no braço).
Compilava assim: hbmk2 *.hbp
por sua vez o meu ARQUIVO.HBP, além de conter os .PRGs continha às chamadas às libs GTWVG, GTWVW, HBWIN etc...
Aí, percebi que a HMG (versão 3.4.2) veio na pasta contrib com a lib gráfica GTWVG. Então pensei comigo mesmo! Se veio junto, é porque pode ser usada 2 libs gráficas juntas. A própria MINIGUI (da IDE/HMG) e a GTWVG.
Só que no caso, quando coloco na aba/guia CONFIGURAÇÃO da IDE da HMG que quero chamar a lib GTWVG, aí aparece aquela mensagem que já postei.
Então, o prezado Dr. Soto, me pediu que eu fornecesse um pequeno trecho do código onde ocorre o problema.
Então, o problema só ocorre, porque informei para a IDE que quero usar a lib GTWVG.
Bom, se eu retirar essa declaração, o erro desaparece (com certeza), mas, as funções da GTWVG que estão embutidas dentro do código causarão outros erros.
Aliás, vou eliminar a linha LIB=GTWVG (da aba configuração) e deixar sem nada: LIB=
Vejam, por favor, os erros:

Code: Select all

Harbour 3.2.0dev (r1509031202)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/Users/wal/AppData/Local/Temp/hbmk_b17mrf.dir/pci10000.o:pci10000.c:(.data+0x248): undefined reference to `HB_FUN_WVG_IMAGE'
C:/Users/wal/AppData/Local/Temp/hbmk_b17mrf.dir/pci10000.o:pci10000.c:(.data+0x348): undefined reference to `HB_FUN_WVG_BOXRAISED'
mpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib   -Wl,--end-group -oSiCCA3603.exe  -LC:/MVinfo/hmg.3.4.2/harbour/lib/win/mingw -LC:/MVinfo/hmg.3.4.2/lib
hbmk2: Dica: Adicionar op‡o 'gtwvg.hbc' faltando nas fun‡es:
       Wvg_BoxRaised(), Wvg_Image()
Agora, vejam, o "pequeno trecho do aplicativo" onde ocorre o primeiro erro pela falta da LIB GTWVG:

Code: Select all

Wvg_Image     ( 10 , 10 , 20 , 60 ,  , GOBJ_IMAGESOURCE_FILE, Splash , , .f. )  // eliminado temporariamente 7/3/16w
Wvg_BoxRaised ( 10 , 10 , 20 , 60 ) // eliminado temporariamente 7/3/16w
As linhas acima, são só 2 de dezenas de linhas que chamam funções da GTWVG.
No mais, aguardo novas instruções!
Grato,
MICROVOLUTION
Last edited by MICROVOLUTION on Thu Mar 10, 2016 6:40 pm, edited 1 time in total.
MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

Re: HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

opa... nota já da madrugada... aqui já é 00:19h de 09/3/16...
pelo que estou começando a entender sobre essa HMG é que para que as libs funcionem no meu configuração, é necessário colocar o nome e a extensão .HBC, ou seja, hbwin.hbc gtwvg.hbc xhb.hbc e assim sucessivamente.
bom, consegui fazer a primeira compilação que até gerou um .EXE.
Mas, ao clicar para executar, ele até faz a pergunta do WIN 10 (a despeito de executar como modo administrador), mas, não aparece nada. Aí abro o gerenciador de tarefas e nada lá também existe.
O arquivo ficou com 7.1 mb, enquanto que o arquivo gerado no puro harbour e sem ide/hmg o tamanho é pouco maior que 1MB.
Alguns dos renomados professores sabem dizer o que está faltando? lembrando que estou mesclando CONSOLE com GRÁFICO, além de usar alguns comandos/funções da lib gráfica GTWVG.
Last edited by MICROVOLUTION on Thu Mar 10, 2016 6:40 pm, edited 1 time in total.
MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

Re: HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

Code: Select all

PORTUGUESE
pessoal.. é o seguinte...
quebrei muita cabeça e descobri o seguinte:
se colocar a seguinte linha. Ele compila, abre a tela do MSDOS (tela preta) e gera um erro, que vou mostrar em seguida. Vejam primeiro a linha que coloquei:
REQUEST HB_GT_WIN_DEFAULT // para invocar o modo CONSOLE junto com o modo GRÁFICO. 9/7/15w
Então, com a linha acima no fonte do MAIN, gera o seguinte erro:

Code: Select all

Application Internal Error - D:\SiCCA\SCI10000\SiCCA3603hmg.exe
Terminated at: 2016-03-09 14:18:35
Unrecoverable error 6005: Exception error:

    Exception Code:C0000005 ACCESS_VIOLATION
    Exception Address:0041948D
    EAX:00000000  EBX:00000003  ECX:0000000A  EDX:01720080
    ESI:00000000  EDI:00000000  EBP:010253D8
    CS:EIP:0023:0041948D  SS:ESP:002B:00CEFCE0
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010206
    Exception Parameters: 00000000 00001C3C
    CS:EIP: 8B 87 3C 1C 00 00 BA 01 00 00 00 89 54 24 18 85
    SS:ESP: 01765E4C 00000000 00CEFD0C 00000000 00000025 00000012 00000400 0050EF33 01743924 00000021 017431B4 01765E4C 00000025 0174385C 00000000 00CEFD5C

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    0041948D 010253D8   76E0AC2C 76E0ABE8 76E0ABCC 76E0ABAC 76E0AB98 76E0AB74 00000000 00000000 00000001 EE0512D3

Modules:
00400000 006E3000 D:\SiCCA\SCI10000\SiCCA3603hmg.exe
76FE0000 0017B000 C:\WINDOWS\SYSTEM32\ntdll.dll
73F10000 000E0000 C:\WINDOWS\SYSTEM32\KERNEL32.DLL
76650000 0017E000 C:\WINDOWS\SYSTEM32\KERNELBASE.dll
73C60000 00073000 C:\Windows\SYSTEM32\guard32.dll
75880000 00147000 C:\WINDOWS\SYSTEM32\USER32.dll
768E0000 0014F000 C:\WINDOWS\SYSTEM32\GDI32.dll
73E90000 0007B000 C:\WINDOWS\SYSTEM32\ADVAPI32.dll
75620000 000BE000 C:\WINDOWS\SYSTEM32\msvcrt.dll
76F90000 00044000 C:\WINDOWS\SYSTEM32\sechost.dll
74080000 000AD000 C:\WINDOWS\SYSTEM32\RPCRT4.dll
73CF0000 0001E000 C:\WINDOWS\SYSTEM32\SspiCli.dll
73CE0000 0000A000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
76880000 00058000 C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
76DF0000 000EB000 C:\WINDOWS\SYSTEM32\ole32.dll
76490000 001BD000 C:\WINDOWS\SYSTEM32\combase.dll
76A90000 00045000 C:\WINDOWS\SYSTEM32\SHLWAPI.dll
76A80000 00006000 C:\WINDOWS\SYSTEM32\PSAPI.DLL
73C50000 00008000 C:\WINDOWS\SYSTEM32\VERSION.dll
76A30000 0002B000 C:\WINDOWS\SYSTEM32\IMM32.DLL
73C40000 00008000 C:\WINDOWS\SYSTEM32\fltlib.dll
73C10000 00028000 C:\WINDOWS\SYSTEM32\ntmarta.dll
73B40000 00092000 C:\WINDOWS\system32\apphelp.dll
75ED0000 000F2000 C:\WINDOWS\SYSTEM32\COMDLG32.DLL
74130000 0008D000 C:\WINDOWS\SYSTEM32\shcore.dll
74220000 013FE000 C:\WINDOWS\SYSTEM32\SHELL32.dll
76DB0000 00037000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll
759D0000 004FA000 C:\WINDOWS\SYSTEM32\windows.storage.dll
76430000 0000C000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
76440000 00044000 C:\WINDOWS\SYSTEM32\powrprof.dll
76870000 0000F000 C:\WINDOWS\SYSTEM32\profapi.dll
76F30000 0005E000 C:\WINDOWS\SYSTEM32\FirewallAPI.dll
76400000 00013000 C:\WINDOWS\SYSTEM32\NETAPI32.dll
767D0000 00092000 C:\WINDOWS\SYSTEM32\OLEAUT32.dll
6DB50000 0020F000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_d3c2e4e965da4528\COMCTL32.DLL
6C0E0000 00006000 C:\WINDOWS\SYSTEM32\MSIMG32.DLL
6A3E0000 00023000 C:\WINDOWS\SYSTEM32\MSVFW32.DLL
6EE80000 00024000 C:\WINDOWS\SYSTEM32\WINMM.DLL
6B000000 00067000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
6D5C0000 00023000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
73820000 0001B000 C:\WINDOWS\SYSTEM32\bcrypt.dll
70B60000 0000B000 C:\WINDOWS\SYSTEM32\DAVHLPR.DLL
6CAE0000 0002C000 C:\WINDOWS\SYSTEM32\fwbase.dll
6F930000 00075000 C:\WINDOWS\system32\uxtheme.dll

Called from WVG_IMAGE(0)
Called from MAIN(207) in C:\MVinfo\MIGRAR\SiCCA\SiCCA3603hmg\sci10000\pci10000.prg
------------------------------------------------------------------------
Resumindo - o pouco que estou aprendendo com os srs, o erro é na linha que contém a primeira chamada a uma função da GTWVG que, é na linha 207. A linha 207, por sua vez, contém as instruções:

Code: Select all

Wvg_Image     ( 10 , 10 , 20 , 60 ,  , GOBJ_IMAGESOURCE_FILE, Splash , , .f. )  // eliminado temporariamente 7/3/16w
Agora se tirar (comentar) a linha hb_gt_win_default, o compilador gera sem problemas o executável, mas, ao executá-lo, o windows até pergunta se é pra executar, mas, não dá nada de imagem e nem muito menos aparece no Gerenciador de Tarefas, ou seja, é como se ele executasse e fechasse ao mesmo tempo.
Alguma solução, alguns dos professores tem?
abraços!
Microvolution, 13 anos evoluindo com você!

ENGLISH:
staff .. is this ...
I broke a lot of head and find out the following:
put the following line. It compiles, opens the MSDOS screen (black screen) and generates an error, I will show below. first see the line put:
REQUEST HB_GT_WIN_DEFAULT // to invoke the CONSOLE mode with the GRAPH mode. 9/7 / 15w
So with the above line in the MAIN source, generates the following error:

Code: Select all

Application Internal Error - D:\SiCCA\SCI10000\SiCCA3603hmg.exe
Terminated at: 2016-03-09 14:18:35
Unrecoverable error 6005: Exception error:

    Exception Code:C0000005 ACCESS_VIOLATION
    Exception Address:0041948D
    EAX:00000000  EBX:00000003  ECX:0000000A  EDX:01720080
    ESI:00000000  EDI:00000000  EBP:010253D8
    CS:EIP:0023:0041948D  SS:ESP:002B:00CEFCE0
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010206
    Exception Parameters: 00000000 00001C3C
    CS:EIP: 8B 87 3C 1C 00 00 BA 01 00 00 00 89 54 24 18 85
    SS:ESP: 01765E4C 00000000 00CEFD0C 00000000 00000025 00000012 00000400 0050EF33 01743924 00000021 017431B4 01765E4C 00000025 0174385C 00000000 00CEFD5C

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    0041948D 010253D8   76E0AC2C 76E0ABE8 76E0ABCC 76E0ABAC 76E0AB98 76E0AB74 00000000 00000000 00000001 EE0512D3


Modules:
00400000 006E3000 D:\SiCCA\SCI10000\SiCCA3603hmg.exe
76FE0000 0017B000 C:\WINDOWS\SYSTEM32\ntdll.dll
73F10000 000E0000 C:\WINDOWS\SYSTEM32\KERNEL32.DLL
76650000 0017E000 C:\WINDOWS\SYSTEM32\KERNELBASE.dll
73C60000 00073000 C:\Windows\SYSTEM32\guard32.dll
75880000 00147000 C:\WINDOWS\SYSTEM32\USER32.dll
768E0000 0014F000 C:\WINDOWS\SYSTEM32\GDI32.dll
73E90000 0007B000 C:\WINDOWS\SYSTEM32\ADVAPI32.dll
75620000 000BE000 C:\WINDOWS\SYSTEM32\msvcrt.dll
76F90000 00044000 C:\WINDOWS\SYSTEM32\sechost.dll
74080000 000AD000 C:\WINDOWS\SYSTEM32\RPCRT4.dll
73CF0000 0001E000 C:\WINDOWS\SYSTEM32\SspiCli.dll
73CE0000 0000A000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
76880000 00058000 C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
76DF0000 000EB000 C:\WINDOWS\SYSTEM32\ole32.dll
76490000 001BD000 C:\WINDOWS\SYSTEM32\combase.dll
76A90000 00045000 C:\WINDOWS\SYSTEM32\SHLWAPI.dll
76A80000 00006000 C:\WINDOWS\SYSTEM32\PSAPI.DLL
73C50000 00008000 C:\WINDOWS\SYSTEM32\VERSION.dll
76A30000 0002B000 C:\WINDOWS\SYSTEM32\IMM32.DLL
73C40000 00008000 C:\WINDOWS\SYSTEM32\fltlib.dll
73C10000 00028000 C:\WINDOWS\SYSTEM32\ntmarta.dll
73B40000 00092000 C:\WINDOWS\system32\apphelp.dll
75ED0000 000F2000 C:\WINDOWS\SYSTEM32\COMDLG32.DLL
74130000 0008D000 C:\WINDOWS\SYSTEM32\shcore.dll
74220000 013FE000 C:\WINDOWS\SYSTEM32\SHELL32.dll
76DB0000 00037000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll
759D0000 004FA000 C:\WINDOWS\SYSTEM32\windows.storage.dll
76430000 0000C000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
76440000 00044000 C:\WINDOWS\SYSTEM32\powrprof.dll
76870000 0000F000 C:\WINDOWS\SYSTEM32\profapi.dll
76F30000 0005E000 C:\WINDOWS\SYSTEM32\FirewallAPI.dll
76400000 00013000 C:\WINDOWS\SYSTEM32\NETAPI32.dll
767D0000 00092000 C:\WINDOWS\SYSTEM32\OLEAUT32.dll
6DB50000 0020F000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_d3c2e4e965da4528\COMCTL32.DLL
6C0E0000 00006000 C:\WINDOWS\SYSTEM32\MSIMG32.DLL
6A3E0000 00023000 C:\WINDOWS\SYSTEM32\MSVFW32.DLL
6EE80000 00024000 C:\WINDOWS\SYSTEM32\WINMM.DLL
6B000000 00067000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
6D5C0000 00023000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
73820000 0001B000 C:\WINDOWS\SYSTEM32\bcrypt.dll
70B60000 0000B000 C:\WINDOWS\SYSTEM32\DAVHLPR.DLL
6CAE0000 0002C000 C:\WINDOWS\SYSTEM32\fwbase.dll
6F930000 00075000 C:\WINDOWS\system32\uxtheme.dll

Called from WVG_IMAGE(0)
Called from MAIN(207) in C:\MVinfo\MIGRAR\SiCCA\SiCCA3603hmg\sci10000\pci10000.prg
------------------------------------------------------------------------
The line 207(main) is:

Code: Select all

Wvg_Image     ( 10 , 10 , 20 , 60 ,  , GOBJ_IMAGESOURCE_FILE, Splash , , .f. )  // eliminado temporariamente 7/3/16w
Now take (comment) the hb_gt_win_default line, the compiler generates without the executable problems, but to run it, the windows to ask if it is to run, but gives nothing image and much less appear in Task Manager ie, it is as if he executed and closed at the same time.
Some solution, some of the teachers have?
hugs!
Microvolution 13 years evolving with you!
Last edited by MICROVOLUTION on Thu Mar 10, 2016 6:41 pm, edited 1 time in total.
MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

Re: HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

bom, só pra desencargo de consciência, estou COMENTANDO as linhas que pertencem à lib GTWVG e infelizmente há algo errado com o código... pois não está aceitando os comandos/funções gráficas da GTWVG inclusas na HMG.
Como faço para usar ambas as bibliotecas gráficas sem ocorrer os erros aqui em questão?
Já que o mantenedor/idealizador da MINIGUI, o Sr. Roberto Lopez incluiu a GTWVG na pasta contrib, é porque pode ser usado...
concordam?
grato,
MICROVOLUTION!
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.2 + libs GTWVW + GTWVW

Post by srvet_claudio »

Já que o mantenedor/idealizador da MINIGUI, o Sr. Roberto Lopez incluiu a GTWVG na pasta contrib, é porque pode ser usado...
concordam?
No necesariamente, HMG se distribuye con la versión oficial de Harbour y por lo tanto trae todas las libs de la distribucion oficial, pero eso no significa que todas las libs tengan que ser necesariamente compatibles o funcionales a HMG.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
MICROVOLUTION
Posts: 146
Joined: Sat May 30, 2015 5:15 am

Re: HMG 3.4.2 + libs GTWVG + GTWVW

Post by MICROVOLUTION »

Opa... bom... no seu exemplo que postou lá no pctoledo.com.br http://www.pctoledo.com.br/forum/viewto ... 42#p104642 bastou acrescentar a seguinte função:

Code: Select all

* HB_GTSYS()
Funcionou perfeitamente... ou seja, compilou, como se eu não estivesse usando a IDE/HMG e usou todos os recursos do harbour 3.2.x + GTWVG.
Agora, vou tentar incluir um "window" que pertence à HMG em apenas um dos módulos, e ver o que acontece.
Se funcionar, é o que eu queria, e, acredito que muitos que queiram migrar de clipper para harbour... poderão, agora com este teste "turbinado", 3 ou mais opções:
- um menu gráfico (padrão windows) ou console (padrão msdos);
- no padrão console, poder colocar imagens da gtwvg (como mostro abaixo);
- módulos individuais em modo 100% console, e/ou mixto (GTWVG + console) e/ou 100% HMG GRÁFICO.
Vejam a tela...
16-0307 - compilação hmg 3.png
16-0307 - compilação hmg 3.png (100.76 KiB) Viewed 9179 times
Agora vou testar um formulário WINDOW da HMG GUI para ver se funciona...
abraços!
Last edited by MICROVOLUTION on Thu Mar 10, 2016 6:41 pm, edited 1 time in total.
Post Reply