[fpc-devel] TSimpleIPC is broken as a component in FPC 3.0.0

Denis Kozlov dezlov at gmail.com
Sat Feb 27 12:27:19 CET 2016


@ Michael

Should TSimpleIPC.SetActive also check for csDesigning in 
ComponentState? I presume we don't want to active IPC when used at 
design time?

P.S. Mantis doesn't let me comment on the ticket #29717 
<http://bugs.freepascal.org/view.php?id=29717>.

Denis

On 24/02/2016 18:06, Denis Kozlov wrote:
> TSimpleIPC.Loaded overrides TComponent.Loaded, but never calls the 
> inherited method to exclude csLoading from ComponentState.
>
> This breaks TSimpleIPC as a component, i.e. it never gets activated 
> when used in Lazarus IDE.
>
> It may also need to check for csDesigning and never activate itself at 
> design time.
>
> Relevant ticket:
> http://bugs.freepascal.org/view.php?id=29717
>
> Denis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160227/d68ba01c/attachment.html>


More information about the fpc-devel mailing list