Acess violation...

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

Acess violation...

Post by pablobr »

Hi

I dont know why, my application stoped working for no reason!
It generates an Access violation exception on siComp.pas:

if S = AOwnerClassName then
begin
AStream.Read(dw, SizeOf(dw));
frm := TForm.Create(AComp);
siClass := TComponentClass(GetClass(AComp.Classname));
SI := TsiCustomLang(siClass.Create(frm)); --> AT THIS LINE THE ACESS VIOLATION HAPPENS

tried to reboot the machine, but the error persists...

Can any1 help me?

Regards,

Pablo
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Could be that siClass has nil content. Are you sure you didn't mix the CLX and VCL units in your project (be sure no TsiLang units with Q prefix used in VCL application and vice versa)? In case not, please try to reproduce the situation with sample project and send it to us.
Best regards,
Igor Siticov.
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

Works

Post by pablobr »

isiticov wrote:Could be that siClass has nil content. Are you sure you didn't mix the CLX and VCL units in your project (be sure no TsiLang units with Q prefix used in VCL application and vice versa)? In case not, please try to reproduce the situation with sample project and send it to us.
i wasted a few hours of work and finally found the malicious Q...

thx for your attention

regards
Post Reply