FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TOutlook2010 and Message Bar are not support UNICODE
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Thu Oct 01, 2015 02:27 AM
Dear Antonio,

These are two picture that have only 1 line different
Code (fw): Select all Collapse
FW_Setunitcode( .T. )


picture sharing
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Thu Oct 01, 2015 07:48 AM

Dutch,

Fixed, many thanks.

We are going to publish a new FWH 15.09 build.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Fri Oct 02, 2015 07:46 AM

Thanks, Antonio.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Sat Oct 03, 2015 06:42 AM

Revised build may be released at any time now.
Now all controls that were left out are covered Outlook,2003,2010, explorerbar,ttreeview,msgbar,tooltips,c5tooltips and many others.

We also tested indexing DBFs with our known Indian languages. Seeks, filters along with xbrowse's incremental seeks, filters are all working. In fact this was to my own surprise. I hope it may work so with your Thai language too.

We still need to get back to you on Accelerators.

To the best of my knowledge we tried to cover everything, except ADO. If still something is left out we are eager to have your feedback.

Regards



G. N. Rao.

Hyderabad, India
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Mon Oct 05, 2015 08:26 AM
nageswaragunupudi wrote:Revised build may be released at any time now.
Now all controls that were left out are covered Outlook,2003,2010, explorerbar,ttreeview,msgbar,tooltips,c5tooltips and many others.

We also tested indexing DBFs with our known Indian languages. Seeks, filters along with xbrowse's incremental seeks, filters are all working. In fact this was to my own surprise. I hope it may work so with your Thai language too.

We still need to get back to you on Accelerators.

To the best of my knowledge we tried to cover everything, except ADO. If still something is left out we are eager to have your feedback.

Dear Mr.Rao
How about Chinese Language? I try Antonio's EXE not work within Resource Dialog when I key Chinese word and not display word.
How do you think?
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Mon Oct 05, 2015 09:50 AM
Gets from resources also work. We can enter any language. The system works exactly the same way with any language in the world that has Windows Unicode support.

This is the program I used:
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   local oDlg, oFont, oGet
   local cGet := Space( 100 )

   FW_SetUnicode( .t. )

   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-14
   DEFINE DIALOG oDlg RESOURCE "MULTILANG" FONT oFont

   REDEFINE GET oGet VAR cGet ID 4002 OF oDlg

   ACTIVATE DIALOG oDlg CENTERED
   RELEASE FONT oFont

   ? Trim( cGet )

return nil

I created the dialog in Pelles C IDE and saved it as ll.res file and linked with my program.

Dialog:


Result:


I entered four languages in the same Get, English and three Indian languages Hindi, Telugu and Gujarati. If you have the right keyboard you can enter any language including Chinese.

KeyBoard:
1. Physical Keyboard: You should use MS Windows compatible keyboard.
OR
2. Download and install Windows language pack with On Screen Keyboard. I have installed OS Keyboards for 3 Indian languages Hindi, Telugu and Gujarati for testing.
OR
3. Install Google Input tools for the language(s) you want. I use this too for testing.

If you want I can send the above exe by email
Regards



G. N. Rao.

Hyderabad, India
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Mon Oct 05, 2015 09:59 AM
nageswaragunupudi wrote:Gets from resources also work. We can enter any language. The system works exactly the same way with any language in the world that has Windows Unicode support.

This is the program I used:
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   local oDlg, oFont, oGet
   local cGet := Space( 100 )

   FW_SetUnicode( .t. )

   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-14
   DEFINE DIALOG oDlg RESOURCE "MULTILANG" FONT oFont

   REDEFINE GET oGet VAR cGet ID 4002 OF oDlg

   ACTIVATE DIALOG oDlg CENTERED
   RELEASE FONT oFont

   ? Trim( cGet )

return nil

I created the dialog in Pelles C IDE and saved it as ll.res file and linked with my program.

Dialog:


Result:


I entered four languages in the same Get, English and three Indian languages Hindi, Telugu and Gujarati. If you have the right keyboard you can enter any language including Chinese.

KeyBoard:
1. Physical Keyboard: You should use MS Windows compatible keyboard.
OR
2. Download and install Windows language pack with On Screen Keyboard. I have installed OS Keyboards for 3 Indian languages Hindi, Telugu and Gujarati for testing.
OR
3. Install Google Input tools for the language(s) you want. I use this too for testing.

If you want I can send the above exe by email

Dear Mr.Rao
Antonio's sample RC(Unicode) not work. so please sent to me EXE file.
I just test below:
1. PRG + RES( Pelles C IDE ) => EXE file
2. PRG + DLL( Pelles C IDE ) => EXE + DLL two files => Set Resource to "xxx.DLL"

or Use My Sample below:
1.
Please try to compile again.
A. Because RC file not ASCII, so I save as ASCII.
B. 1 24 "WindowsXP.Manifest" not add into EXE file. Please add into.

http://www.fivetech.com.tw/downloads/TestU8.rar

2.
A. please don’t delete RC file, because RC file include bitmap and WinXP Manifest need to be add.
B. I want to test call Resource DLL file to input Chinese.

http://www.fivetech.com.tw/downloads/TestU8-dll.rar

My EMail fivetech @ hotmail dot com dot tw
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 153
Joined: Tue Aug 05, 2014 09:48 AM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Mon Oct 05, 2015 10:04 AM

Dear Mr. Rao
To implement Unicode is some level complex for some user
I suggest to prepare and upload little video of Screen Captured, so user can easily understand how Unicode work seamlessly

Regards, Greetings



Try FWH. You will enjoy it's simplicity and power.!
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Mon Oct 05, 2015 10:43 AM
Mr Richard

Sent Exe.

Mr Dave

It is not complex at all. In fact it is extremely simple.
Take any working project, however big or complex it may be, provided it uses DBF for data (not ADO).
Add one line of code at the beginning of the function Main()
Code (fw): Select all Collapse
FW_SetUnicode( .t. )

Now the entire application is fully multi-lingual. Users can enter text in the language they choose and store in database. Indexing, filtering, relations, browsing, printing work in the language of the user.

Can anything be simpler than this? You yourself said: "Try FWH. You will enjoy it's simplicity and power.!"

Points to keep in mind:
1) For real life work, you need to increase field lengths of text fields by around 2 to 2.5 times.
2) To start with all captions and prompts in your dialogs and windows continue to be still in English. You may need to keep replacing string constants in the program files with native language prompts or have some arrangement like FWStings() for dynamic choice of language for prompts.

I'll also keep in mind posting a video.
Regards



G. N. Rao.

Hyderabad, India
Posts: 99
Joined: Thu Aug 02, 2012 03:21 PM
Re: TOutlook2010 and Message Bar are not support UNICODE
Posted: Wed Jun 07, 2017 03:23 PM
Antonio Linares wrote:Dutch,

Fixed, many thanks.

We are going to publish a new FWH 15.09 build.

Antonio, could you please share your fix for Toutlook2010, if I test the sample from Dutch, the program just closed without any error, if you remove FW_SetUnicode( .T. ), it works fine!
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20141106)

FiveWin Version: FWHX 15.01

BCC 5.8.2

Continue the discussion