View previous topic :: View next topic |
Author |
Message |
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Tue Aug 01, 2006 4:57 am Post subject: Fix in v 2.25 |
|
|
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 |
|
|
jfudickar
Joined: 12 Jun 2006 Posts: 38 Location: Eschborn, Germany
|
Posted: Tue Aug 01, 2006 9:13 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|