Code page - can I set it ?

Post Reply
xVar
Posts: 35
Joined: Mon Jan 19, 2009 9:14 am

Code page - can I set it ?

Post by xVar »

Hi everebody!

I try set code page in my applicationto hungarian.

I try this code , but is not work (Browse look as english). Make I anything wrong ?

Regards Andrej.


/// settings
REQUEST DBFCDX
REQUEST DBFFPT
RDDSETDEFAULT ('DBFCDX')
REQUEST HB_LANG_HUWIN
REQUEST HB_CODEPAGE_HUWIN
HB_LangSelect('HU')
HB_SetCodePage("HUWIN")


// open dbf
DBUSEAREA(.T.,"DBFCDX",cFileName,cAliasName,.F.,.F.,"HUWIN")

// Make browse

@ 0.1, 0.1 LISTBOX oGetBr ;
FIELDS BASE->AZON,;
BASE->VEZNEV;
HEADERS 'BASE->AZON',;
'BASE->VEZNEV';
OF oFld:aDialogs[ 1 ];
SIZE ScreenX-4, ScreenY
oGetBr:aColSizes := { 60, 60,100,100 }
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Code page - can I set it ?

Post by Antonio Linares »

Try it this way:

REQUEST HB_Lang_HU
REQUEST HB_CODEPAGE_HUWIN
...
HB_LangSelect("HU")
HB_SetCodePage("HUWIN")
regards, saludos

Antonio Linares
www.fivetechsoft.com
xVar
Posts: 35
Joined: Mon Jan 19, 2009 9:14 am

Is not work :(

Post by xVar »

Linker write "unresolved external symbol HB_FUN_HB_LANG_HU"
I think REQUEST HB_LANG_HUWIN was good. (but not make nothing )
Regards

Andrej.
Post Reply