error en ANSITOUTF8 con mariadb y mingw

error en ANSITOUTF8 con mariadb y mingw

Postby carlos vargas » Mon Jun 24, 2024 12:44 am

Antonio, al intentar compilr los ejemplos maria??.prg de la carpeta samples, usando las libs para compilador mingw y buildg.h
da este error
Application Internal Error - d:\fwh\samples\maria15.exe
Terminated at: 2024-06-23 18:46:16
Unrecoverable error 9023: hb_xgrab requested to allocate zero bytes
Called from FW_STRTOUTF8(0) in .\source\function\VALTOSTR.PRG
Called from FW_ARRAYASLIST(0) in .\source\function\VALTOSTR.PRG
Called from WQOUT(0) in .\source\function\WQOUT.PRG
Called from FW_DEMODB(0) in .\source\internal\FWMARIA.PRG
Called from MAIN(22) in maria15.prg
------------------------------------------------------------------------
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: error en ANSITOUTF8 con mariadb y mingw

Postby carlos vargas » Mon Jun 24, 2024 12:51 am

usando buildh.bat y buildh32.bat con creados y ejecutados correctamente.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: error en ANSITOUTF8 con mariadb y mingw

Postby Antonio Linares » Mon Jun 24, 2024 8:17 am

Estimado Carlos,

Aqui ha funcionado bien usando gcc85 y buildg.bat maria15 tan sólo he añadido esta lib a buildg.bat: -l%fwh%\lib\libmysql32
Estás usando la misma versión de gcc ?

https://github.com/FiveTechSoft/screenshots/blob/master/maria15gcc32.png?raw=true

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error en ANSITOUTF8 con mariadb y mingw

Postby Antonio Linares » Mon Jun 24, 2024 8:21 am

Te envío las libs de FWH más recientes por email
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error en ANSITOUTF8 con mariadb y mingw

Postby carlos vargas » Mon Jun 24, 2024 3:20 pm

con las lib enviadas funciona bien, gracias antonio.
aca uso:

https://github.com/brechtsanders/winlib ... 0.1-r1.zip

info de interes
winlibs personal build version gcc-14.1.0-mingw-w64ucrt-11.0.1-r1

This is the winlibs Intel/AMD 32-bit standalone build of:
- GCC 14.1.0
- GDB 14.2
- MinGW-w64 11.0.1 (linked with ucrt)
- GNU Binutils 2.42
- GNU Make 4.4.1
- PExports 0.47
- dos2unix 7.5.2
- Yasm 1.3.0
- NASM 2.16.01
- JWasm 2.12pre
- ccache version 4.9.1
- CMake 3.29.3
- ninja 1.12.0
- Doxygen 1.10.0
- Universal Ctags 6.1.0
- Cppcheck 2.14.0

Thread model: posix
Runtime library: UCRT (Windows 10 or higher, or when [Update for Universal C Runtime](https://support.microsoft.com/en-us/top ... 7930f3560c) is installed on older Windows versions, not supported on systems older than Windows 7 SP1 and Windows Server 2008 R2 SP1)

This build was compiled with GCC 14.1.0 and packaged on 2024-05-08.

Please check out http://winlibs.com/ for the latest personal build.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 91 guests