Harbour Set date to GERMAN

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Harbour Set date to GERMAN

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

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

I found the lib.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

codepage is for indexes, sort, etc.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply