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 

TSiLang: is this code required while design time ?

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



Joined: 07 Feb 2010
Posts: 8

PostPosted: Fri Sep 27, 2013 8:28 pm    Post subject: TSiLang: is this code required while design time ? Reply with quote

Hi SiComponents

It seems my last post was deleted, was something wrong with it ?
Anyway I try again:

I use TSiLang 7.0.
Since Delphi XE4 I, and as it seems others as well, have weird problems with the Delphi IDE doing stack overflows (see QC#116583, QC#116629, QC#118669, QC#119321 in embarcadero quality central).

While looking for a workaround, I found that if I remove the code shown below in the initialization section of siComp.pas, the problem disappears in the IDE.
Because I do not understand this code, nor what this is required for, my question would be if I could safely deactivate it for design-time component ?
Of course I would leave it in for run-time.
Or what would I break if I am doing this ?

Code:
initialization
  {$IFDEF DELPHI6}
  StartClassGroup(TComponent);
  ActivateClassGroup(TComponent);
  GroupDescendentsWith(TsiCustomLang, TComponent);
  {$IFNDEF FMX}
  { TODO : Port to FMX }
  GroupDescendentsWith(TsiFormStorage, TComponent);
  {$ENDIF}
  GroupDescendentsWith(TsiLangDispatcher, TComponent);
  {$ENDIF}



Thanks in advance for your help
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Sep 30, 2013 6:46 am    Post subject: Reply with quote

Hi,

Sorry for the missed topic. We're moving from server to server these days and it is possible that some database were not updated while moving to another server. This code is needed in order to "let know" IDE which classes could be used under different frameworks, like VCL, FMX and so on. So I guess this is needed.
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