FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Harbour Set date to GERMAN
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Harbour Set date to GERMAN
Posted: Tue Oct 16, 2007 09:48 AM

Does harbour respect the set date to GERMAN function?

My FW program is showing the names of the days correct in GERMAN the FWH version in English.

Regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Harbour Set date to GERMAN
Posted: Tue Oct 16, 2007 10:06 AM

Otto,

You have to use:

REQUEST HB_Lang_DE
REQUEST HB_CODEPAGE_DEWIN

HB_LangSelect("DE")
HB_SetCodePage("DEWIN")

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Harbour Set date to GERMAN
Posted: Tue Oct 16, 2007 10:20 AM

Thank you Antonio,
REQUEST HB_Lang_DE
// REQUEST HB_CODEPAGE_DEWIN

HB_LangSelect("DE")

// HB_SetCodePage("DEWIN")

This way it compiles and the names are correct.
What do I have to link in for the Codepage?

Regards,
Otto

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_DEWIN' referenced from C:\DEVELO
P8\WH_FWH\XWINHOTEL\OBJ\WINHOTEL.OBJ

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Harbour Set date to GERMAN
Posted: Tue Oct 16, 2007 10:40 AM

echo $(HBDIR)\lib\codepage.lib + >> b32.bc

I found the lib.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Harbour Set date to GERMAN
Posted: Tue Oct 16, 2007 12:36 PM

Otto,

codepage is for indexes, sort, etc.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion