SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Access violation while translating a Delphi componant

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
Jean-Paul Brassard



Joined: 08 May 2008
Posts: 65

PostPosted: Wed Nov 10, 2010 3:58 pm    Post subject: Access violation while translating a Delphi componant Reply with quote

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?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2096

PostPosted: Wed Nov 10, 2010 4:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Jean-Paul Brassard



Joined: 08 May 2008
Posts: 65

PostPosted: Wed Nov 10, 2010 5:09 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2096

PostPosted: Thu Nov 11, 2010 3:40 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite 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 p h p B B  © 2001, 2005 p h p B B  Group