CodePage Problem?

CodePage Problem?

Postby Horizon » Fri Dec 04, 2009 1:12 pm

Hi,

I have a small sample of creating dialog using HB_SetCodePage function.

Code: Select all  Expand view
#include "fivewin.ch"

REQUEST HB_CODEPAGE_TRWIN

Procedure Main()

HB_SetCodePage( "TRWIN" )

DEFINE DIALOG oDlg

    @ 20,10 SAY "User Name : DDDDDDDDDDDD" of oDlg PIXEL

ACTIVATE DIALOG ODlg centered


RETURN .T.


If I remove HB_SetCodePage("TRWIN") line compiled Exe works. But It does not work with this line.

Is there anything wrong in code?

Thanks,
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: CodePage Problem?

Postby Horizon » Fri Dec 04, 2009 3:30 pm

Hi,

I have changed the below lines and there is not any problem.

Code: Select all  Expand view
    REQUEST HB_CODEPAGE_ESWIN
    HB_SetCodePage( "ESWIN" )


What should I do?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: CodePage Problem?

Postby Antonio Linares » Fri Dec 04, 2009 9:39 pm

Hakan,

> If I remove HB_SetCodePage("TRWIN") line compiled Exe works. But It does not work with this line.

What error do you get ? A link error ? A runtime error ?
regards, saludos

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

Re: CodePage Problem?

Postby Horizon » Fri Dec 04, 2009 10:03 pm

Hi,

There is not any error reported. It just disappeared. I try to find the error. it disappeared it in DialogBoxIndirect function in activates method of dialog class. It does not return to activates method anymore. I could not found the DialogBoxIndirect function.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: CodePage Problem?

Postby Antonio Linares » Fri Dec 04, 2009 10:35 pm

Hakan,

I can not find TRWIN in xharbour\source\lang\*.c

Have you ever used it before ?
regards, saludos

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

Re: CodePage Problem?

Postby Horizon » Sat Dec 05, 2009 9:55 am

Hi Antonio,

You are right. There is not. it is in xHarbour.org\Source\codepage\cptrwin.c

I do not use tr messages. I try to use only codepage.

No. I have never used before.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: CodePage Problem?

Postby Manuel Valdenebro » Sun Jun 22, 2014 10:06 am

Horizon wrote:
I have a small sample of creating dialog using HB_SetCodePage function.

Code: Select all  Expand view
#include "fivewin.ch"

REQUEST HB_CODEPAGE_TRWIN

Procedure Main()

HB_SetCodePage( "TRWIN" )

DEFINE DIALOG oDlg

    @ 20,10 SAY "User Name : DDDDDDDDDDDD" of oDlg PIXEL

ACTIVATE DIALOG ODlg centered


RETURN .T.


If I remove HB_SetCodePage("TRWIN") line compiled Exe works. But It does not work with this line.

Is there anything wrong in code?

Thanks,


Hi Hakan,

I have an application (xHarbour + FWH) in several languages and now I want to include Turkish. Have you got "TRWIN" for xHarbour?.

Thanks in advance.
Un saludo

Manuel
User avatar
Manuel Valdenebro
 
Posts: 706
Joined: Thu Oct 06, 2005 9:57 pm
Location: Málaga-España

Re: CodePage Problem?

Postby Horizon » Sun Jun 22, 2014 10:28 am

Manuel,

I am sorry to say that I could't use TRWIN in xharbour. I have migrated to Harbour last year and not tried to use it.

Regards.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: CodePage Problem?

Postby Manuel Valdenebro » Sun Jun 22, 2014 10:41 am

Horizon wrote:Manuel,

I am sorry to say that I could't use TRWIN in xharbour. I have migrated to Harbour last year and not tried to use it.

Regards.


Thanks Hakan
Un saludo

Manuel
User avatar
Manuel Valdenebro
 
Posts: 706
Joined: Thu Oct 06, 2005 9:57 pm
Location: Málaga-España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests