BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Resource dll trouble (D6P)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization
View previous topic :: View next topic  
Author Message
Lauri Kotilainen
Guest





PostPosted: Wed Jul 30, 2003 5:21 pm    Post subject: Resource dll trouble (D6P) Reply with quote




I have two resource dll's for my app. After running the wizard I get
"Property does not exist" for "TColumn.Title.Font.Font". This I can skip by
ignoring (I don't mind losing the font of the font Smile, but another problem
reared it's ugly head. When I start the app and proceed to switch
languages, everything works. If, however, I first move the database cursor
of a grid forwards one record and THEN switch langs, an access violation
occurs, saying something like "DBGrid1.Columns: TColumn.Expanded: List
index out of bounds (1) EReadError".

Any thoughts? I tried to trace the problem, but it's kinda hard to follow
all the things ReinitializeForms does...

Thanks in advance.

-Lauri-

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Back to top
Maksym Markov
Guest





PostPosted: Thu Jul 31, 2003 7:53 am    Post subject: Re: Resource dll trouble (D6P) Reply with quote



Hi, Lauri,
It looks like there is something wrong with your form in resource dll. I
think resource loader can not parse some of localized resource. I advice
first backup your resource dlls sources and then delete error resource from
localized dll (dfm and dfn) then update resource dll - I will need
retranslate removed form but if you add old translations to repository it
will not be much work.


PS: Absolutely same problems forced us to switch from ITE to home-made
localization technology.
--
Maksym Markov, MCSD
Alternative way to localization
http://components.balmsoft.com

"Lauri Kotilainen" <lauri.kotilainen (AT) unifile (DOT) fi> wrote

Quote:

I have two resource dll's for my app. After running the wizard I get
"Property does not exist" for "TColumn.Title.Font.Font". This I can skip
by
ignoring (I don't mind losing the font of the font Smile, but another problem
reared it's ugly head. When I start the app and proceed to switch
languages, everything works. If, however, I first move the database cursor
of a grid forwards one record and THEN switch langs, an access violation
occurs, saying something like "DBGrid1.Columns: TColumn.Expanded: List
index out of bounds (1) EReadError".

Any thoughts? I tried to trace the problem, but it's kinda hard to follow
all the things ReinitializeForms does...

Thanks in advance.

-Lauri-

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/




Back to top
Lauri Kotilainen
Guest





PostPosted: Thu Jul 31, 2003 8:22 am    Post subject: Re: Resource dll trouble (D6P) Reply with quote




Thanks! you saved my day :D

basically the problem was this: I had set the IDE to display all
properties. Hence saving the form saved changed properties that are in fact
not localizable! my bad, again :)

I'm probably building the next version from the groud up, so I'll go for
Gnu Gettext for that, I think.

Once more, thanks heaps!

-Lauri-

On Thu, 31 Jul 2003 10:53:52 +0300, Maksym Markov
<maksym.markov (AT) balmsoft (DOT) com> wrote:

Quote:
Hi, Lauri,
It looks like there is something wrong with your form in resource dll. I
think resource loader can not parse some of localized resource. I advice
first backup your resource dlls sources and then delete error resource
from
localized dll (dfm and dfn) then update resource dll - I will need
retranslate removed form but if you add old translations to repository it
will not be much work.





--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.