Access Violation on .gettextordefault('myid0001');

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
microtronx
Posts: 29
Joined: Tue Dec 21, 2010 7:34 pm

Access Violation on .gettextordefault('myid0001');

Post by microtronx »

Hello,

i have installed the latest version for Delphi2010 and getting now access violations by calling

myTsiLangRT.gettextordefault('myid0001');

Is this a known bug?
microtronx
Posts: 29
Joined: Tue Dec 21, 2010 7:34 pm

note:

Post by microtronx »

This access violation does not occur if i clear the list of "strings" ...
it seems that this is a bug !?!
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Could you please send us a sample project that reproduces the problem? Because we're unable to reproduce it on our side.
Best regards,
Igor Siticov.
microtronx
Posts: 29
Joined: Tue Dec 21, 2010 7:34 pm

demo project

Post by microtronx »

I will try to reproduce the problem and will send you a sample project.
microtronx
Posts: 29
Joined: Tue Dec 21, 2010 7:34 pm

Post by microtronx »

if i use gettextordefault for an id, which does not exists, i get the access-violation. Can you check this, please?
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

We've checked this and once again without any success. Are you able to reproduce this on sample project? If yes, please send it to us.
Best regards,
Igor Siticov.
microtronx
Posts: 29
Joined: Tue Dec 21, 2010 7:34 pm

Post by microtronx »

We have solved the problem by our selves. It seems that there is an problem, if we use i.e. the gettextordefault from unit1 within unit2 and reverse.

Changing the routines to use the .gettextordefault from silang_rt on current form, solved the problem.

Thanks for your support
Post Reply