Page 1 of 1

Harbour Set date to GERMAN

Posted: Tue Oct 16, 2007 9:48 am
by Otto
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

Posted: Tue Oct 16, 2007 10:06 am
by Antonio Linares
Otto,

You have to use:

REQUEST HB_Lang_DE
REQUEST HB_CODEPAGE_DEWIN

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

Posted: Tue Oct 16, 2007 10:20 am
by Otto
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

Posted: Tue Oct 16, 2007 10:40 am
by Otto
echo $(HBDIR)\lib\codepage.lib + >> b32.bc

I found the lib.

Posted: Tue Oct 16, 2007 12:36 pm
by Antonio Linares
Otto,

codepage is for indexes, sort, etc.