FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 24.09
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 05:13 PM
Master Nagé, discover the following:

If I use the command:

HB_SETCODEPAGE( "PT850")

OemToAnsi() does not work.

If I comment the command:

// HB_SETCODEPAGE( "PT850" )

OemToAnsi works normally.

Very Crazy... hahaha.
Code (fw): Select all Collapse
Como siempre hago:

REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850

FUNCTION Main()

   HB_LANGSELECT( 'PT' )     // Default language is now Portuguese

   // HB_SETCODEPAGE( "PT850" ) // ASI OemToAnsi funciona perfecto! ????
   // HB_CDPSELECT( "PTISO" )

...

RETURN NIL
https://imgur.com/7eGy6yk



Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 05:20 PM

Buenas tarde Enrico, no és un problema en c:\XHBBCC77\lib\codepage.lib ??

Good afternoon Enrico, it is not a problem in: c:\XHBBCC77\lib\codepage.lib??

Gracias, tks.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 05:33 PM
Enrico/Nages small example using XHARBOUR CODEPAGE.LIB:

Download small sample:

https://mega.nz/file/MIkTASpY#hoy_2xWt_CMlFRkpUJzUxsz49H_qbljQewMPEW1gbR0

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 07:08 PM

Can you provide an image of the result you expected?

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 07:21 PM
Enrico Maria Giordano wrote:Can you provide an image of the result you expected?
Enrico, in previous versions, the result with HB_SETCODEPAGE( "PT850" ) was always this:

https://i.imgur.com/7eGy6yk.png



gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 07:30 PM
Enrico, in this version, if I use: HB_SETCODEPAGE( "PT850" )

It looks like this:

https://imgur.com/DprC58M



Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 07:34 PM
[quote="Enrico Maria Giordano"]That is what I get. Please try my EXE:

This is the RIGHT Enrico. Now call HB_SETCODEPAGE() It will make everything wrong.

https://imgur.com/Xthq1HU

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 09:23 PM

Sorry, I gave up, I'm not familiar with codepages.

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: New FWH 24.09
Posted: Mon Oct 14, 2024 10:27 PM
Good Evening,

I would like to reference the schedule.prg file in FWH\samples folder. It shows the problem I have with 24.09. This has NOT been a problem in any earlier version of FWH. To test, I rebuild the program files in 24.07 and it works correctly.

The problem: Build panels creates two panels. The one on the right displays all of the available times, and any appointments. The one on the left is a date picker.

Now, with 24.09, the date picker panel no longer displays. Although someone could input a new appointment for the current date, there is no longer a way to select, for view or edit, any other date.

I build with FWH, Harbour, and MSVC ( most recent releases of all ). This has not occurred in any previous versions. Again, testing with the exact same versions of Harbour, and MSVC, the error only occurs in 24.09.

This is my appointment scheduler, and you have full access to it in the FWH samples folder. It is complex so it would be difficult to give a smaller sample to work with. I don't use other panels so I can't say if it is a broader problem.

Thank you.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 24.09
Posted: Tue Oct 15, 2024 01:49 AM
nageswaragunupudi wrote:Give me a small sample OEM string

DO NOT copy and paste here. That will automatically convert the string to UTF8.

Please give here a list of ASC values of each character.

Eg. If your string is
"AB"
You give me as
65,66
Please see my post.
Please give me any one of your OEM string (not more than 10 chars)
Let me study and get back to you.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 24.09
Posted: Tue Oct 15, 2024 01:54 AM
I would like to reference the schedule.prg file in FWH\samples folder. It shows the problem I have with 24.09. This has NOT been a problem in any earlier version of FWH. To test, I rebuild the program files in 24.07 and it works correctly.
We will check and get back.
Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 24.09
Posted: Tue Oct 15, 2024 02:55 AM
TimStone wrote:Good Evening,

I would like to reference the schedule.prg file in FWH\samples folder. It shows the problem I have with 24.09. This has NOT been a problem in any earlier version of FWH. To test, I rebuild the program files in 24.07 and it works correctly.

The problem: Build panels creates two panels. The one on the right displays all of the available times, and any appointments. The one on the left is a date picker.

Now, with 24.09, the date picker panel no longer displays. Although someone could input a new appointment for the current date, there is no longer a way to select, for view or edit, any other date.

I build with FWH, Harbour, and MSVC ( most recent releases of all ). This has not occurred in any previous versions. Again, testing with the exact same versions of Harbour, and MSVC, the error only occurs in 24.09.

This is my appointment scheduler, and you have full access to it in the FWH samples folder. It is complex so it would be difficult to give a smaller sample to work with. I don't use other panels so I can't say if it is a broader problem.

Thank you.
Dear Tim,

Error description: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Args:
[ 1] = C CodeJock.CalendarGlobalSettings.15.0.1

Where to get this control from ? is there a demo version ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: New FWH 24.09
Posted: Tue Oct 15, 2024 03:00 AM

I dont believe there is a demo but you might find it in your files because you had a copy at one time

Sent from my iPhone using Tapatalk

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 24.09
Posted: Tue Oct 15, 2024 03:01 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com