FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Copy and Paste issue with TGET and FWMariaDb *Fixed*
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Copy and Paste issue with TGET and FWMariaDb *Fixed*

Posted: Mon Apr 21, 2025 02:51 AM

Dear Antonio,

I use FWH2304 with xHarbour (20221118).

I got the problem with paste from clipboard to TGET, the issue is

Problem

  • paste to TGET in oRs:lastname field (MariaDb database) when it has some text in field, it cannot paste any text to.

  • paste to TGET in Variable and declare from MariaDb database field, it does not work.

Works fine

  • paste to TGET in oRs:lastname field with empty text, it work fine.

  • paste to TGET in Variable, it work fine.

Thank you in advance for any suggestion.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Mon Apr 21, 2025 08:21 AM
Dear Dutch,

This example is working fine here with Harbour and xHarbour, when pasting on the first GET:

modified maria02.prg
#include "fivewin.ch"

static aStr := { "localhost,fwh,fivetec1_antonio,1234" }

static oCn

//----------------------------------------------------------------------------//

function Main()

   local oRs, cSql, oDlg

   FWSetLanguage( 1 )
   FW_SetUnicode( .t. )

   if ( oCn := maria_Connect( aStr[ 1 ], .t. ) ) != nil

      TEXT INTO cSql
         SELECT C.ID AS CustID, C.FIRST AS CustName, C.AGE AS AG, C.STATE AS ST, S.NAME AS StateName
         FROM customer C
         LEFT OUTER JOIN states S ON C.STATE = S.CODE
         ORDER BY CUSTID
      ENDTEXT

      oRs   := oCn:RowSet( cSql )

      DEFINE DIALOG oDlg 

      @ 1, 1 GET oRs:CustName OF oDlg 

      @ 3, 1 GET oRs:St OF oDlg 

      ACTIVATE DIALOG oDlg CENTERED

      oCn:Close()

   endif

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 12:52 PM
Dear Antonio,

It doesn't work with FWH2304 as vdo clip.

https://streamable.com/7q7ppd


Antonio Linares wrote: Dear Dutch,

This example is working fine here with Harbour and xHarbour, when pasting on the first GET:

modified maria02.prg
#include "fivewin.ch"

static aStr := { "localhost,fwh,fivetec1_antonio,1234" }

static oCn

//----------------------------------------------------------------------------//

function Main()

   local oRs, cSql, oDlg

   FWSetLanguage( 1 )
   FW_SetUnicode( .t. )

   if ( oCn := maria_Connect( aStr[ 1 ], .t. ) ) != nil

      TEXT INTO cSql
         SELECT C.ID AS CustID, C.FIRST AS CustName, C.AGE AS AG, C.STATE AS ST, S.NAME AS StateName
         FROM customer C
         LEFT OUTER JOIN states S ON C.STATE = S.CODE
         ORDER BY CUSTID
      ENDTEXT

      oRs   := oCn:RowSet( cSql )

      DEFINE DIALOG oDlg 

      @ 1, 1 GET oRs:CustName OF oDlg 

      @ 3, 1 GET oRs:St OF oDlg 

      ACTIVATE DIALOG oDlg CENTERED

      oCn:Close()

   endif

return nil
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 01:09 PM
Hi Dutch,

This problem is fixed in Fivewin 25.01

Can you rebuild the fivewin libraries?

Best regards,

Ertan Hakan ÖZTÜRK
ertan_ozturk@yahoo.com
Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 01:50 PM
Dear Ertan,

Where I can fix and rebuild my library version (FWH2304)?

Thanks in advance,
ertan wrote: Hi Dutch,

This problem is fixed in Fivewin 25.01

Can you rebuild the fivewin libraries?

Best regards,

Ertan Hakan ÖZTÜRK
ertan_ozturk@yahoo.com
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 02:00 PM
Hi again Dutch,

I will check and test again before share details with Mr.Antonio Linares
The problem is in the files source\api\clpbrd.c and fwunicode.c

Best regards,

Ertan Hakan ÖZTÜRK,
ertan_ozturk@yahoo.com
Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 02:07 PM
Hi Ertan,

I found clpbrd.c, I compare with my old FW version 1901. The different is paste image only. But I cannot find fwunicode.c in anywhere.

How to fix and rebuild?
ertan wrote: Hi again Dutch,

I will check and test again before share details with Mr.Antonio Linares
The problem is in the files source\api\clpbrd.c and fwunicode.c

Best regards,

Ertan Hakan ÖZTÜRK,
ertan_ozturk@yahoo.com
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 02:19 PM
Hi Dutch,

My DB Engine is MariaDB and I use always BCC with Harbour.
I need to check your problem in [x]Harbour
I need a litle time, Don't worry. Please...

unicode.c changed to fwunicode.c in fivewin 25.01

Best regards,
Ertan Hakan ÖZTÜRK,
ertan_ozturk@yahoo.com
Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 02:32 PM
Dear Ertan,

Thank you so much for your kind help. I use MariaDB too.
unicode.c changed to fwunicode.c in fivewin 25.01
I got it, thanks in advance,
ertan wrote: Hi Dutch,

My DB Engine is MariaDB and I use always BCC with Harbour.
I need to check your problem in [x]Harbour
I need a litle time, Don't worry. Please...

unicode.c changed to fwunicode.c in fivewin 25.01

Best regards,
Ertan Hakan ÖZTÜRK,
ertan_ozturk@yahoo.com
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Tue Apr 22, 2025 08:24 PM
Hi again Dutch,

Can you send me an e-mail for testing?

Best regards,
Ertan Hakan ÖZTÜRK
ertan_ozturk@yahoo.com
Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Wed Apr 23, 2025 02:31 AM
Dear Ertan,

my email : dutchez4@gmail.com

Thank you,
ertan wrote: Hi again Dutch,

Can you send me an e-mail for testing?

Best regards,
Ertan Hakan ÖZTÜRK
ertan_ozturk@yahoo.com
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Wed Apr 23, 2025 04:24 AM
Dear Dutch,

I sent your email.

Best regards,
Ertan Hakan ÖZTÜRK

ertan_ozturk@yahoo.com
Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Wed Apr 23, 2025 08:16 AM
Dear All,

How to rebuild c file to library?

thanks in advance,
ertan wrote: Dear Dutch,

I sent your email.

Best regards,
Ertan Hakan ÖZTÜRK

ertan_ozturk@yahoo.com
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Wed Apr 23, 2025 09:19 AM

Dear Ertan,

I compile and rebuild to FIVEHC.LIB but the issue does not solve, still the same.

Thanks in advance,

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM

Re: Copy and Paste issue with TGET and FWMariaDb

Posted: Wed Apr 23, 2025 10:02 AM
Dear Dutch,

I try reproduce your error and analysis this with xHarbour

Best regards,

Ertan Hakan ÖZTÜRK
ertan_ozturk@yahoo.com
Best regards,
Ertan,

ertan_ozturk@yahoo.com