New FWH 24.09

Re: New FWH 24.09

Postby karinha » Mon Oct 14, 2024 5: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: Select all  Expand view

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

Image

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: New FWH 24.09

Postby karinha » Mon Oct 14, 2024 5: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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: New FWH 24.09

Postby karinha » Mon Oct 14, 2024 5: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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: New FWH 24.09

Postby Enrico Maria Giordano » Mon Oct 14, 2024 7:08 pm

Can you provide an image of the result you expected?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 24.09

Postby karinha » Mon Oct 14, 2024 7: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

Image

gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Re: New FWH 24.09

Postby karinha » Mon Oct 14, 2024 7:30 pm

Enrico, in this version, if I use: HB_SETCODEPAGE( "PT850" )

It looks like this:

https://imgur.com/DprC58M

Image

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: New FWH 24.09

Postby karinha » Mon Oct 14, 2024 7: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

Image
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: New FWH 24.09

Postby Enrico Maria Giordano » Mon Oct 14, 2024 9:23 pm

Sorry, I gave up, I'm not familiar with codepages.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 24.09

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: New FWH 24.09

Postby nageswaragunupudi » Tue Oct 15, 2024 1: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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: New FWH 24.09

Postby nageswaragunupudi » Tue Oct 15, 2024 1: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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: New FWH 24.09

Postby Antonio Linares » Tue Oct 15, 2024 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 24.09

Postby TimStone » Tue Oct 15, 2024 3: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: New FWH 24.09

Postby Antonio Linares » Tue Oct 15, 2024 3:01 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 76 guests