FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How make it
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
How make it
Posted: Wed Nov 05, 2008 06:39 AM
Hey there

I´m make a sistem to 3 language so i want know
how use the String Table of Pelles C for Windows to create
the words and how in my sistem and when chance language change in my sistem..

i need have 3 string table

portugues
ingles
espanhol

string table

(Portugues)
ID Text
1001 Nome
1002..

(Espanhol)
ID Text
1001 Nombre
1002..

(Ingles)
ID Text
1001 Name
1002..

someone use it ?? can help me please
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
How make it
Posted: Wed Nov 05, 2008 08:57 AM

You can use LoadString () to read the text from the resource.

rPreview.prg is a good sample to study how to do.

kind regards

Stefan
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
How make it
Posted: Wed Nov 05, 2008 01:24 PM
Laiton:

With 16 bits I do this way


LOCAL cAplicacion
LOCAL cWinNom
LOCAL cCopyRight

SET RESOURCES TO "WinNom.Dll"

REDEFINE cAplicacion RESOURCE 1
REDEFINE cWinNom RESOURCE 2
REDEFINE cCopyRight RESOURCE 3


RESOURCE 1 is the first one line in the resource file and
RESOURCE 2 is the second one line in the resource file
and so on.

Perhaps this way works fine with 32bits

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Thanks
Posted: Wed Nov 05, 2008 01:53 PM

All right with LoadString ()

THANKS SO MUCH

Continue the discussion