Fwh64 connect mysql problem

Fwh64 connect mysql problem

Postby richard-service » Fri Feb 01, 2019 7:19 am

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

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 767
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Fwh64 connect mysql problem

Postby nageswaragunupudi » Fri Feb 01, 2019 11:00 am

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
nageswaragunupudi
 
Posts: 10257
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh64 connect mysql problem

Postby richard-service » Sat Feb 02, 2019 1:06 am

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

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 767
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Fwh64 connect mysql problem

Postby nageswaragunupudi » Sat Feb 02, 2019 1:42 am

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
nageswaragunupudi
 
Posts: 10257
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh64 connect mysql problem

Postby richard-service » Sun Feb 03, 2019 9:26 am

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

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 767
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Fwh64 connect mysql problem

Postby nageswaragunupudi » Sun Feb 03, 2019 1:27 pm

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
User avatar
nageswaragunupudi
 
Posts: 10257
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 17 guests