FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fwh 23.10 TGet another problem (SOLVED)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Feb 04, 2024 07:19 PM
nageswaragunupudi wrote:Are you using Windows Manifest while testing this sample?
Yes Mr. Rao.

I use theme. I have removed and it says always "ANSI GET" but Turkish characters gone in TGet.

I have added theme your sample and says "UTF8 GET".
Code (fw): Select all Collapse
1 24 "WindowsXP.Manifest"
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Feb 04, 2024 07:28 PM
I have added theme your sample and says "UTF8 GET".
Yes.
but Turkish characters gone in TGet.
It is the other way round here

I will get back.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 05, 2024 05:02 AM
ertan wrote:Mr. Rao,

Your welcome. I'm not use any third party components or activex.

Best regards,
Mr. Ertan
Can we give you some more trouble?
Do you get the same behavior as Mr. Hakkan when you add manifest to my sample? Do you see ANSI GET changing to UTF8 GET?
Regards



G. N. Rao.

Hyderabad, India
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 05, 2024 06:32 AM

Hi Mr. Rao,

No. Not changed. Always "ANSI GET"

Best Regards,

Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 05, 2024 06:45 AM

Mr. Rao,

With or without manifest always "ANSI GET". But Turkish character not lost, displaying correctly.

I am a good listener and reader.

I can't add screenshot or gif animate attachment. Forum rules? My Message count is less or problem?

Best Regards,

Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 05, 2024 08:43 AM

Dear Ertan,

The best way to post images here on the forums is to open a free account on github, then create a repo (very easy) and upload your images there.

Then use the "Img" button here and copy the image (raw) url fom github

many thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 05, 2024 12:10 PM
ertan wrote:Mr. Rao,

With or without manifest always "ANSI GET". But Turkish character not lost, displaying correctly.

I am a good listener and reader.
I can't add screenshot or gif animate attachment. Forum rules? My Message count is less or problem?

Best Regards,
https://imgur.com/

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 05, 2024 07:43 PM

Mr. Ertan

Is it possible for you to send these two libs from your fwh\lib folder of FWH2310?

FIVEH.LIB

FIVEHC.LIB

to my email address

nageswaragunupudi [at] gmail [dot] com?

Thanks in advance

Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Tue Feb 06, 2024 05:43 PM

Hi Mr. Rao,

I have installed fwh 23.10 and the harbour folder on a friend's computer who has Visual Studio 2022 installed.

I have compiled the sample program you sent using buildh32.bat in sample directory.

The results were exactly like on my own computer. In other words, when the theme is installed, "UTF8 GET" is constantly written on the screen.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Wed Feb 07, 2024 03:49 AM

Mr. Hakan

Please do not spend your time on this.

I am also getting the same problem when I installed FWH2310 and tested.

But Mr. Ertan says it is working well for him. I asked Mr.Ertan to send his libs to me. He will send after this weekend. Please wait till I test and provide you with the correctly working libs.

If necessary I will rebuild the libs for you. Please wait.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Fri Feb 16, 2024 06:32 PM

up

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Feb 18, 2024 02:59 PM
Can you please get in touch with me on my email address
Code (fw): Select all Collapse
nageswaragunupudi [at] gmail [dot] com
?
I like to send you FIVEH.LIB and FIVEHC.LIB for your testing.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Feb 18, 2024 03:23 PM
Also can you please build and run this program and let us know the results?
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   ? HB_CDPUNIID(), GetACP(), GetOEMCP()

return nil

#pragma BEGINDUMP

#include <windows.h>
#include <hbapi.h>

HB_FUNC( GETACP )   { hb_retni( GetACP() ); }
HB_FUNC( GETOEMCP ) { hb_retni( GetOEMCP() ); }

#pragma ENDDUMP
Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Feb 18, 2024 08:08 PM
nageswaragunupudi wrote:Also can you please build and run this program and let us know the results?
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   ? HB_CDPUNIID(), GetACP(), GetOEMCP()

return nil

#pragma BEGINDUMP

#include <windows.h>
#include <hbapi.h>

HB_FUNC( GETACP )   { hb_retni( GetACP() ); }
HB_FUNC( GETOEMCP ) { hb_retni( GetOEMCP() ); }

#pragma ENDDUMP
Hi Mr. Rao,

cp437
1254
857

When I add this lines.
Code (fw): Select all Collapse
REQUEST HB_CODEPAGE_TRWIN
function Main()
    HB_CDPSELECT( "TRWIN" )
cp1254
1254
857
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Mon Feb 19, 2024 06:08 AM
We sent you FiveH.lib and FiveHC.lib.
First please make a safe copy of your present FWH2310 folder
Then replace these two libs in your fwh\lib folder with the libs we sent you now.
Then, please test this program and provide your feedback.
Code (fw): Select all Collapse
#include "fivewin.ch"

REQUEST HB_CODEPAGE_TRWIN

function Main()

   local oDlg, oGet, oFont, nKey := 0
   local cText  := Space( 10 )

   HB_CDPSELECT( "TRWIN" )
   FW_SetUnicode( .f. )
   SetGetColorFocus()

   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-20 //CHARSET 162 // Use the charset that works for you

   DEFINE DIALOG oDlg SIZE 450,300 PIXEL TRUEPIXEL FONT oFont ;
      TITLE FWVERSION

   @  40, 40 GET oGet VAR cText SIZE 200,32 PIXEL OF oDlg ON CHANGE ;
      ( cText := oGet:cText, oDlg:Update() )

   oGet:bKeyChar  := { |k| nKey := k }

   @  40,300 SAY { || "Key: " + Str( nKey, 3 ) } SIZE 120,30 PIXEL OF oDlg UPDATE

   @  80, 40 SAY { || StrToHex( Trim( cText ), " " ) } SIZE 390,32 PIXEL OF oDlg UPDATE

   @ 120, 40 SAY { || ListAsc( cText ) } SIZE 390,70 PIXEL OF oDlg UPDATE

   @ 200, 40 SAY { || If( IsWindowUnicode( oGet:hWnd ), "UTF8", "ANSI" ) + ;
      " GET" } SIZE 200,32 PIXEL OF oDlg UPDATE

   @ 200,310 BUTTON "CHECK" SIZE 100,40 PIXEL OF oDlg ACTION ;
      MsgInfo( IsWindowUnicode( oGet:hWnd ) )

   odlg:brclicked := { || msginfo( IsWindowUnicode( oGet:hWnd ) ) }

   ACTIVATE DIALOG oDlg CENTERED

   cText  := Trim( cText )

   ? cText, StrToHex( cText ), IsUtf8( cText )

return nil

static function ListAsc( cText )

   local aList := {}
   local c

   cText  := Trim( cText )
   for each c in cText
      AAdd( aList, ASC( c ) )
   next

return FW_ArrayAsList( aList )
Regards



G. N. Rao.

Hyderabad, India