Error compiling old system / Erro ao compilar sistema antigo

63 views
Skip to first unread message

valt...@valtecom.com.br

unread,
Sep 21, 2025, 9:56:51 AM (14 days ago) Sep 21
to Harbour Minigui
Good morning friends,
I'm compiling a 2004 system. It's been running the same executable since 2004. Now I've tried to compile again using the updated version of Harbour/Minigui, but it gives me a compilation error, something related to PDF. I've reviewed all the PRG files, and none of them contain any PDFs. The only difference is that in this system, all reports are in HBPRINTER. Does this attached error have anything to do with HBPRINTER? I compared the compilation script for this program with others, and they're the same. The only difference is the reports are in HBPRINTER, and I've only been using MINIPRINT.
If any of you know anything about this, please let me know.
Thank you.
Valteçom
Uberaba, MG, Brazil

Bom dia amigos,
Estou compilando um sistema de 2004, ele roda o mesmo executável desde 2004 e agora eu tentei compilar novamente na versão atualizada da Harbour/Minigui, mas apresenta um erro ao compilar, algo relacionado a PDF, mas eu revisei todos os arquivos PRG e nenhum deles tem nada de PDF, a unica diferença é que nesse sistema todos os relatório são em HBPRINTER, esse erro em anexo tem algo relacionado com a HBPRINTER? Eu comparei o script de compilação desse programa com outros e estão iguais, a unica diferença são os relatórios em HBPRINTER, e eu só tenho usado a MINIPRINT.
Se algum dos companheiros souberem algo a respeito.
Obrigado.
Valteçom
Uberaba MG Brasil
ERRO.jpg

José Quintas

unread,
Sep 23, 2025, 3:41:25 PM (11 days ago) Sep 23
to Harbour Minigui
Sometimes libraries add features that depends on another libraries.
if harbour and hbmk2, you can try, as example:

hbmk2 -find hpdf_save

hbhpdf.hbc (installed):
   HPDF_SaveToFile()
   HPDF_SaveToStream()

I do not use original HMG Extended files, I rename libraries, I create HBX files, and now copy to harbour\addons only to search your functions:


hbmk2 -find switchtothis

addons\hmge_main.hbc (not installed):
   SWITCHTOTHISWINDOW()

the only function not available is:

hbmk2 -find privateextra

No matches

Using harbour 3.2 and mingw 15.2

I do not know why libraries do not use hbx or harbour addons folder, it would be helpful

Where exists a function about setfocus

hbmk2 -find setfocus

addons\hmg3_main.hbc (not installed):
   SETFOCUS()
   _SETFOCUS()
   _SETFOCUSEDSPLITCHILD()

addons\hmge_main.hbc (not installed):
   SETFOCUS()
   _SETFOCUS()
   _SETFOCUSEDSPLITCHILD()
   CLBUTTONSETFOCUS()
   SPBUTTONSETFOCUS()

addons\oohg_main.hbc (not installed):
   SETFOCUS()

gtwvg.hbc (installed):
   wvg_SetFocus()

gtwvw.hbc (not installed):
   win_SetFocus()
   wvw_cbSetFocus()
   wvw_cxSetFocus()
   wvw_ebSetFocus()
   wvw_pbSetFocus()

hbwin.hbc (installed):
   wapi_SetFocus()

Harbour core (installed):
   ordSetFocus()

addons\hwgui.hbc (not installed):
   HWG_SETFOCUS()


José M. C. Quintas
Reply all
Reply to author
Forward
0 new messages