Page 1 of 1

Fwh64 connect mysql problem

PostPosted: Fri Feb 01, 2019 7:19 am
by richard-service
Hi Antonio,

I copy TMySQL source code( MySQL.c and TMySQL.prg ) to 64bit .a ( 32bit work fine )

I use FWH64 \ lib \ libmariadb64.a
my TMySQL connect alwayse appear not connect or firewall. ( 32bit work fine )

I use FWH64 \ lib \ libmysql64.a
my TMySQL connect appear below:
Image

I think I want to connect Libmysql.dll to 64bit .a
How to do it? or any Idea?

Re: Fwh64 connect mysql problem

PostPosted: Fri Feb 01, 2019 11:00 am
by nageswaragunupudi
Our fwh mariadb libraries connect successfully with all Harbour/xHarbour, 32/64 bits, bcc and msvc

We can not answer about TMySql.

Re: Fwh64 connect mysql problem

PostPosted: Sat Feb 02, 2019 1:06 am
by richard-service
nageswaragunupudi wrote:Our fwh mariadb libraries connect successfully with all Harbour/xHarbour, 32/64 bits, bcc and msvc

We can not answer about TMySql.


Mr.Rao

I think TMySQL MySQL.c incompatible fwh64\lib libmysql64.a

I saw fwh64\dll
    DLLs suplied with FiveWin
    =========================

    ==> For 16 bits only

    * ctl3d.dll Microsoft support for 3d look controls.
    * bwcc.dll Borland Windows Custom Controls
    * Screens.dll FiveWin empty DLL for storing resources
    * Infounz.dll Public domain UNZIP files management
    * WizZip16.dll Public domain ZIP files management
    * SAMPLES\FwDbg.dll FiveWin debugger resources
    * SAMPLES\Report\Preview.dll FiveWin printing preview resources
    * nview16.dll JPG, JIF, GIF, BMP, DIB, RLE, TGA, PCX support

    ==> For 32 bits only

    * bwcc32.dll Borland Windows Custom Controls 32 bits
    * rc2dll32.bat Batch to create a DLL using a RC resources file
    * Screens32.dll FiveWin empty DLL 32 bits for storing resources
    * Prev32.dll FiveWin printing preview resources
    * nviewlib.dll JPG, JIF, GIF, BMP, DIB, RLE, TGA, PCX support

    ==> For 64 bits only

    * screens64.dll FiveWin empty DLL 64 bits for storing resources


I can't find screens64.dll . How to get it?

Re: Fwh64 connect mysql problem

PostPosted: Sat Feb 02, 2019 1:42 am
by nageswaragunupudi
Harbour 64bits with bcc64

fwh\lib\libmariadb64.a is compatible with fwh\dll\libmariadb64.dll renamed as libmariadb.dll
and
fwh\lib\libmysql64.a is compatible with fwh\dll\libmysql64.dll renamed as libmysql.dll

Re: Fwh64 connect mysql problem

PostPosted: Sun Feb 03, 2019 9:26 am
by richard-service
nageswaragunupudi wrote:Harbour 64bits with bcc64

fwh\lib\libmariadb64.a is compatible with fwh\dll\libmariadb64.dll renamed as libmariadb.dll
and
fwh\lib\libmysql64.a is compatible with fwh\dll\libmysql64.dll renamed as libmysql.dll


Mr.Rao

I remove TMySQL
FWH any sample for simple connect MySQL server?

Only simple connect MySQL.
use LIB(.a) echo %fwh%\lib\libmysql64.a + >> b64.bc =>Right?
EXE file include Libmysql64.dll =>Right?

Re: Fwh64 connect mysql problem

PostPosted: Sun Feb 03, 2019 1:27 pm
by nageswaragunupudi
First try
build64 maria01, maria02 .... maria*
in the samples folder

For connecting to your server, use

oCn := maria_Connect( server, [database], user, password, [nport] )