Bom dia
venho fazendo testes para converter meu sistema em Harbour para MINIGUI EXTENDEND com MariaDb, estava utilizando a versão:
Harbour MiniGUI Extended Edition 19.02 (Release) conectando ao MariaDB com a CLASS TMySQLServer: Every available MySQL server
compilado com o BRMAKE - Make File para Harbour/xHarbour/MiniGUI Versão 2.05 FreeWare com o Borland BCC55
nesta posição tudo esta funcional sem problemas.
resolvi fazer a atualização do minigui para a seguinte versão:
Harbour MiniGUI Extended Edition 21.05 (Update 4)
ao compilar usando BRMAKE com BCC55 da o seguinte erro:
──BRMAKE - Make File para Harbour/xHarbour/MiniGUI Versão 2.05 FreeWare─
Arquivo de Config. em: C:\Fontes\Minigui\DBFMariaDBID\BRMAKE.INI
Diretório De Trabalho: C:\Fontes\Minigui\DBFMariaDBID\
Arquivo de Projeto : C:\Fontes\Minigui\DBFMariaDBID\linkar.MLK
Projeto EXE : C:\Fontes\Minigui\DBFMariaDBID\DBF_MARIADB_ID.EXE
Programa Principal : C:\Fontes\Minigui\DBFMariaDBID\DBFMARIADB.PRG
Harbour Flags :
Modo : GUI - MiniGUI
Compilando Projeto DBF_MARIADB_ID.EXE
Status arquivos (.Prg) ... Compilar: 006 de 006
Compilando ...
DBFMARIADB.PRG ... Ok
M┌─ Erros ────────────────────────────────────────────────────────────────────┐
F│Borland Resource Compiler Version 5.40 │
C│Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. │
I│ │
C│Error MINIGUI.RC 83 11: Cannot open file: winuser.h │
│ │
A│ │
vi em algumas postagem dizendo que o BRMAKE é desatualizado que isso que aquilo, pois bem resolvi mudar também meu script de compilação utilizando o HBMK2.bat que esta em C:\Minigui\BATCH\, atualizei o BCC55 para BCC58, criei então um compile.bat da seguinte forma:
cls
@echo off
SET PATH=%PATH%;C:\BORLAND\BCC58\BIN
SET HB_COMPILER=bcc
C:\MINIGUI\HARBOUR\BIN\HBMK2 DBF_MARIADB.HBM
pause
meu arquivo DBF_MARIADB.HBM
# Inicio do Arquivo de projeto #
# Nome do Executável
# ---------------------------
-oDBF_MARIADB_ID
# ---------------------------
# Bibliotecas
# xhb deve ser depois de hbole
# ---------------------------
-ltsbrowse
-lpropgrid
-lminigui
-lhmg_qhtm
-lminiprint
-lhbmysql
-lhbprinter
-lgtgui
-lhbct
-lhbnf
-lhbwin
-lxhb
-lhbnetio
# ---------------------------
# Caminho dos Includes
# ---------------------------
-incpath=C:\minigui\harbour\include;
-incpath=C:\minigui\include;
# ---------------------------
# Caminho das Libs da MiniGui
# ---------------------------
-LC:\Minigui\lib
-LC:\minigui\harbour\lib
# ---------------------------
# Outros Parâmetros
# ---------------------------
-workdir=.\OBJHBM\
-gtgui
-head=full
-n
#-nowarn
-inc
# ---------------------------
# Prg(s) e Rc(s)
# ---------------------------
DBFMARIADB.PRG
MYERRO.PRG
FUNCOES.PRG
CRIA_STRUCTURE.PRG
IMPORTA_DADOS.PRG
CHAVE_ESTRANGEIRA.PRG
# C:\MINIGUI\RESOURCES\MINIGUI.RC
DBFMARIADB.RC
# ---------------------------
# Fim
# ---------------------------
neste quadro ao compilar da o seguinte erro:
hbmk2: Processing environment options: -comp=bcc
hbmk2: Warning: Ignoring explicitly specified core library directory:
C:\minigui\harbour\lib (in option '-LC:\minigui\harbour\lib' in
DBF_MARIADB.HBM:34)
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'DBFMARIADB.PRG'...
Lines 23410, Functions/Procedures 9
Generating C source output to 'OBJHBM\DBFMARIADB.c'... Done.
Compiling 'MYERRO.PRG'...
Lines 23249, Functions/Procedures 2
Generating C source output to 'OBJHBM\MYERRO.c'... Done.
Compiling 'FUNCOES.PRG'...
Lines 24674, Functions/Procedures 6
Generating C source output to 'OBJHBM\FUNCOES.c'... Done.
Compiling 'CRIA_STRUCTURE.PRG'...
Lines 26152, Functions/Procedures 1
Generating C source output to 'OBJHBM\CRIA_STRUCTURE.c'... Done.
Compiling 'IMPORTA_DADOS.PRG'...
Lines 29633, Functions/Procedures 1
Generating C source output to 'OBJHBM\IMPORTA_DADOS.c'... Done.
Compiling 'CHAVE_ESTRANGEIRA.PRG'...
Lines 26820, Functions/Procedures 2
Generating C source output to 'OBJHBM\CHAVE_ESTRANGEIRA.c'... Done.
hbmk2: Compiling resources...
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
hbmk2: Compiling...
OBJHBM\DBFMARIADB.c:
OBJHBM\MYERRO.c:
OBJHBM\FUNCOES.c:
OBJHBM\CRIA_STRUCTURE.c:
OBJHBM\IMPORTA_DADOS.c:
OBJHBM\CHAVE_ESTRANGEIRA.c:
OBJHBM\_hbmkaut_DBFMARIADB.c:
hbmk2: Linking... DBF_MARIADB_ID.exe
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_BT_CLIENTAREAINVALIDATERECT' referenced from
C:\MINIGUI\LIB\MINIGUI.LIB|h_progresswheel
Error: Unresolved external '_HB_FUN_BT_BITMAPCREATENEW' referenced from C:\MINIG
UI\LIB\MINIGUI.LIB|h_progresswheel
Error: Unresolved external '_HB_FUN_BT_CREATEDC' referenced from C:\MINIGUI\LIB\
MINIGUI.LIB|h_progresswheel
Error: Unresolved external '_HB_FUN_BT_DELETEDC' referenced from C:\MINIGUI\LIB\
MINIGUI.LIB|h_progresswheel
Error: Unresolved external '_HB_FUN_BT_DRAWFILLELLIPSE' referenced from C:\MINIG
UI\LIB\MINIGUI.LIB|h_progresswheel
Error: Unresolved external '_HB_FUN_BT_DRAWTEXT' referenced from C:\MINIGUI\LIB\
MINIGUI.LIB|h_progresswheel
Error: Unresolved external 'mysql_init' referenced from C:\MINIGUI\HARBOUR\LIB\H
BMYSQL.LIB|mysql
Error: Unresolved external 'mysql_real_connect' referenced from C:\MINIGUI\HARBO
UR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_close' referenced from C:\MINIGUI\HARBOUR\LIB\
HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_get_server_version' referenced from C:\MINIGUI
\HARBOUR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_commit' referenced from C:\MINIGUI\HARBOUR\LIB
\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_rollback' referenced from C:\MINIGUI\HARBOUR\L
IB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_select_db' referenced from C:\MINIGUI\HARBOUR\
LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_query' referenced from C:\MINIGUI\HARBOUR\LIB\
HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_store_result' referenced from C:\MINIGUI\HARBO
UR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_use_result' referenced from C:\MINIGUI\HARBOUR
\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_fetch_lengths' referenced from C:\MINIGUI\HARB
OUR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_data_seek' referenced from C:\MINIGUI\HARBOUR\
LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_fetch_field' referenced from C:\MINIGUI\HARBOU
R\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_field_seek' referenced from C:\MINIGUI\HARBOUR
\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_num_fields' referenced from C:\MINIGUI\HARBOUR
\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_field_count' referenced from C:\MINIGUI\HARBOU
R\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_list_fields' referenced from C:\MINIGUI\HARBOU
R\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_errno' referenced from C:\MINIGUI\HARBOUR\LIB\
HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_error' referenced from C:\MINIGUI\HARBOUR\LIB\
HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_list_dbs' referenced from C:\MINIGUI\HARBOUR\L
IB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_list_tables' referenced from C:\MINIGUI\HARBOU
R\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_num_rows' referenced from C:\MINIGUI\HARBOUR\L
IB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_fetch_row' referenced from C:\MINIGUI\HARBOUR\
LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_free_result' referenced from C:\MINIGUI\HARBOU
R\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_affected_rows' referenced from C:\MINIGUI\HARB
OUR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_get_host_info' referenced from C:\MINIGUI\HARB
OUR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_get_server_info' referenced from C:\MINIGUI\HA
RBOUR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_insert_id' referenced from C:\MINIGUI\HARBOUR\
LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_ping' referenced from C:\MINIGUI\HARBOUR\LIB\H
BMYSQL.LIB|mysql
Error: Unresolved external 'mysql_real_escape_string' referenced from C:\MINIGUI
\HARBOUR\LIB\HBMYSQL.LIB|mysql
Error: Unresolved external 'mysql_escape_string' referenced from C:\MINIGUI\HARB
OUR\LIB\HBMYSQL.LIB|mysql
hbmk2: Error: Running linker. 2
ilink32.exe @C:\Users\Diomedes\AppData\Local\Temp\nwkjgz.lnk
hbmk2: Error: Referenced, missing, but unknown function(s):
BT_CLIENTAREAINVALIDATERECT(), BT_BITMAPCREATENEW(), BT_CREATEDC(),
BT_DELETEDC(), BT_DRAWFILLELLIPSE(), BT_DRAWTEXT()
Pressione qualquer tecla para continuar. . .
alguem poderia me ajudar com estes erros?
abraços