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 

Acess violation...

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



Joined: 21 Sep 2004
Posts: 18

PostPosted: Fri Jun 24, 2005 7:48 pm    Post subject: Acess violation... Reply with quote

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


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Sat Jun 25, 2005 5:23 am    Post subject: Reply with quote

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



Joined: 21 Sep 2004
Posts: 18

PostPosted: Thu Jun 30, 2005 12:35 pm    Post subject: Works Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
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