Page 1 of 1

Access violation while translating a Delphi componant

Posted: Wed Nov 10, 2010 3:58 pm
by Jean-Paul Brassard
Hi,

We created some new Delphi components, grouped in a DPK project.

To translate them we first close current DPR project then open the DPK.
Trying to open the TsiLang Expert (Tools menu) do nothing, the Expert does not show up...

Another trial to translate strings of our new components was through the Find command of its TsiLangRT Component. Doing this produces an Access Violation !?

However, if we drop our new component into a DPR project, then we can open TsiLang Expert and then find strings to translate.

Is there a limitation of TsiLang for DPK projects that we did not get?

Posted: Wed Nov 10, 2010 4:55 pm
by isiticov
Hi Jean-Paul,

Actually, when you click on TsiLang Expert it first checks that there is ANY project open in IDE. Sometimes when opening DPK the IDE opens it "as a file" but not "as a project". Please try the following:
1. Select in menu File | Open Project
2. Locate your DPK
3. The DPK file name should appear in IDE caption as active project.
After this TsiLang Expert should appear.

Posted: Wed Nov 10, 2010 5:09 pm
by Jean-Paul Brassard
isiticov wrote:1. Select in menu File | Open Project
2. Locate your DPK
3. The DPK file name should appear in IDE caption as active project.
After this TsiLang Expert should appear.
The IDE caption is the name of my DPK, but TsiLang Expert does not open.

But if there is an empty project when I open my DPK, then TsiLang Expert is OK.

I usually close all project when I open my DPK because I want to install the components into Delphi, for all of my projects, and not for a given dummy project.

Posted: Thu Nov 11, 2010 3:40 am
by isiticov
Yes, your're right it looks like some problem with IDE or so on. We will try to fix this in next update. Meantime as a workaround you can have open empty project and then open the DPK. Translate the DPK with TsiLang Expert and later install the package into IDE. So it will be installed for all projects.