Access violation while translating a Delphi componant

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Jean-Paul Brassard
Posts: 65
Joined: Thu May 08, 2008 7:46 pm

Access violation while translating a Delphi componant

Post 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?
Jean-Paul Brassard
Quebec, Canada
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Jean-Paul Brassard
Posts: 65
Joined: Thu May 08, 2008 7:46 pm

Post 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.
Jean-Paul Brassard
Quebec, Canada
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply