EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fix in v 2.25

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Tue Aug 01, 2006 4:57 am    Post subject: Fix in v 2.25 Reply with quote

There is a small problem in usage of TecSingleInstance - this component is active even in design state. This causes to automatic Halt of running application under IDE when form with component is loaded.

Fixing of the bug (ecSingleInst.pas):

Code:
procedure TecSingleInstance.Loaded;
var
  TempClass: TWndClass;
  ClassRegistered: Boolean;
  ClsName: string;
begin
  inherited;

  if csDesigning in ComponentState then Exit; // do not activate in design state
...


Michael.
Back to top
View user's profile Send private message Send e-mail
jfudickar



Joined: 12 Jun 2006
Posts: 38
Location: Eschborn, Germany

PostPosted: Tue Aug 01, 2006 9:13 pm    Post subject: Reply with quote

Thanks michael.

This bug had made me crazy yesterday.

I wanted to look a little bit deeper this night, but now i know the problem Laughing
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor 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 phpBB © 2001, 2005 phpBB Group