Fwh64 connect mysql problem

Post Reply
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Fwh64 connect mysql problem

Post 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?
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh64 connect mysql problem

Post by nageswaragunupudi »

Our fwh mariadb libraries connect successfully with all Harbour/xHarbour, 32/64 bits, bcc and msvc

We can not answer about TMySql.
Regards

G. N. Rao.
Hyderabad, India
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: Fwh64 connect mysql problem

Post 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?
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh64 connect mysql problem

Post 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
Regards

G. N. Rao.
Hyderabad, India
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: Fwh64 connect mysql problem

Post 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?
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh64 connect mysql problem

Post 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] )
Regards

G. N. Rao.
Hyderabad, India
Post Reply