Check the file C:\hmg.3.6\hmg64.hbc, it should contain the notation libs=hbmysql.hbc, not hbmysql=hbmysql.hbcmjaviergutierrez wrote: ↑Wed Dec 11, 2024 6:38 pm hbmk2[Motel]: Warning: Cannot find hbmysql=hbmysql.hbc (referenced from
C:\hmg.3.6\hmg64.hbc)
Error al compilar con HMG3.6
Moderator: Rathinagiri
Re: Error al compilar con HMG3.6
- mjaviergutierrez
- Posts: 156
- Joined: Fri Nov 30, 2012 7:51 pm
- DBs Used: DBF
- Location: San Lorenzo, Santa Fe, Argentina
Re: Error al compilar con HMG3.6
Gracias por su respuesta edk, ahora me dice esto ....
- Attachments
-
- Sin título.jpg (21.74 KiB) Viewed 1422 times
...
Re: Error al compilar con HMG3.6
Try to install Microsoft Visual C++ Redistributable: https://aka.ms/vs/17/release/vc_redist.x64.exe
What version of MySQL/MariaDB do you use?
What version of MySQL/MariaDB do you use?
- mjaviergutierrez
- Posts: 156
- Joined: Fri Nov 30, 2012 7:51 pm
- DBs Used: DBF
- Location: San Lorenzo, Santa Fe, Argentina
Hola ! ,
reinstale Microsoft Visual C++ Redistributable y anduvo perfecto, estoy usando MySQL :
con la versión HMG3.6 (64Bits) y MySQL 5.5 (64Bits) funciona perfecto (usando la nueva dll )
HMG3.6 (64Bits) y MySQL 8.0.4.0 (64Bits) , nueva dll , NO funciona. Da un error al conectar con el server.
Ahora, con HMG.3.5 (32Bits) y MySQL 8.0.4.0 (64 Bits), con la vieja dll , funciona ...
No sé ...
reinstale Microsoft Visual C++ Redistributable y anduvo perfecto, estoy usando MySQL :
con la versión HMG3.6 (64Bits) y MySQL 5.5 (64Bits) funciona perfecto (usando la nueva dll )
HMG3.6 (64Bits) y MySQL 8.0.4.0 (64Bits) , nueva dll , NO funciona. Da un error al conectar con el server.
Ahora, con HMG.3.5 (32Bits) y MySQL 8.0.4.0 (64 Bits), con la vieja dll , funciona ...
No sé ...
...
Re: Error al compilar con HMG3.6
For MySQL versions newer than 5.5, use the libmysql.dll file, which is distributed with MySQL Server.
For version 8.0, the file can be found in the folder: C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.dll
For version 8.0, the file can be found in the folder: C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.dll
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Error al compilar con HMG3.6
Edward,
Everything works fine except my data retrieved from SQL database is shown without French and German accents (like é ç ü). It is correctly retrieved but when displayed on a Form accents are ignored.
What do I miss?
Serge
Everything works fine except my data retrieved from SQL database is shown without French and German accents (like é ç ü). It is correctly retrieved but when displayed on a Form accents are ignored.
What do I miss?
Serge
There's nothing you can do that can't be done...
Re: Error al compilar con HMG3.6
Hi Serge.
Do you have the data in the SQL database encoded in the same code page as your application? I have the encoding in UTF8 in SQL and in the application. Polish accents are written, retrieved and displayed correctly.
Do you have the data in the SQL database encoded in the same code page as your application? I have the encoding in UTF8 in SQL and in the application. Polish accents are written, retrieved and displayed correctly.
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Error al compilar con HMG3.6
Hi Edward,
collatie server: utf8mb4_unicode_ci
charset: cp1252 (west european latin1)
Nothing changed after switching from HMG3.44 to HMG3.6....
Serge
collatie server: utf8mb4_unicode_ci
charset: cp1252 (west european latin1)
Nothing changed after switching from HMG3.44 to HMG3.6....
Serge
There's nothing you can do that can't be done...
Re: Error al compilar con HMG3.6
For testing, check that it correctly converts the resulting string from SQL UTF8 using the hb_utf8ToStr( <cSQLUTF8Str> ) function.
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Error al compilar con HMG3.6
Edward,
I get this result:
cNM1 Elénore Amable François
cNM2 Elénore Amable François
Both are OK but result on my form is this:
I get this result:
Code: Select all
aCurRow1 := cQuery1a:GetRow(1)
cNM1 := strvalue(aCurRow1:fieldGet(1) )
cNM2 := hb_utf8ToStr(aCurRow1:fieldGet(1) )
? 'cNM1', cNM1
? 'cNM2', cNM2
cNM2 Elénore Amable François
Both are OK but result on my form is this:
- Attachments
-
- f1.png (11.77 KiB) Viewed 1289 times
There's nothing you can do that can't be done...