Harbour Set date to GERMAN

Harbour Set date to GERMAN

Postby Otto » Tue Oct 16, 2007 9: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
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

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

Postby Otto » Tue Oct 16, 2007 10:40 am

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

I found the lib.
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Tue Oct 16, 2007 12:36 pm

Otto,

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

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 64 guests