Probles with Tsilang component ver.5.3.2

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
doctec
Posts: 8
Joined: Mon Feb 14, 2005 4:17 pm
Location: Argentina
Contact:

Probles with Tsilang component ver.5.3.2

Post by doctec »

Hello,

I'm having the following problem, I have added the Tsilang component and I have defined two languages (English and Spanish), The fact is that I'm translating and English Delphi source code, when use this line in the source code:

silang1.ActiveLanguage:=2;

I receive the following error message:

Project raised exception class EAccessViolation with message 'Access Violation at address 78462F6A in module 'ntdll.dll''. Write of address 00404EB1'.
Process stopped. Use Step or Run to continue.

So I can't go on because this error.

I will appreciate any help.

Regards,
Marcelo[/quote]
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Actually, this looks like somewhere is the problem in your code. Let's try to detect this:
1. Try to check the OnChangeLanguage event of TsiLang if it is used. You can place a break point there and check step-by-step the problematic code.
2. May be some components have properties, which shouldn't be translated?
3. Are you able to reproduce this on sample project?
doctec
Posts: 8
Joined: Mon Feb 14, 2005 4:17 pm
Location: Argentina
Contact:

Post by doctec »

Thanks a Lot for your answer,

I will try these point, and I let you know.

Regards,
Marcelo
doctec
Posts: 8
Joined: Mon Feb 14, 2005 4:17 pm
Location: Argentina
Contact:

Post by doctec »

Hi

1. OnChangeLanguage have no code.
2. I have tried to delete the multiline items translation and now have the opposite situation:

silang1.ActiveLanguage:=2;

is working ok now, but if I set ActiveLanguage to 1 I receive the same error that before I received with activelanguage equals to 2.

3. Are you able to reproduce this on sample project?
I' m trying to extract the conflicting form but it's difficult because all of the unit uses.
doctec
Posts: 8
Joined: Mon Feb 14, 2005 4:17 pm
Location: Argentina
Contact:

Post by doctec »

It's working now!

Its was a problem with some component with a blank property in both languages and blank lines in a multiline combobox.

Thanks a lot for your help!

Regards
Marcelo
Post Reply