Robert_Zenz
Well-known member
Hello.
I wrote a Component which is basically a class. Since it's nice to drag it from the Toolbox I decided to develope it further as a Component. The problem is that the Component get's executed at Design Time. Since it's a UDP-Server Class with Threading etc., it blocks the ports which are specified, and don't even releases them when jumped to Debug Mode.
I already read that I could check of if the executable devenv.exe, but isn't there another way to do that? Like an Attribute which tells him that this Component should be only run at Runtime?
Thanks for your Help,
Bobby
I wrote a Component which is basically a class. Since it's nice to drag it from the Toolbox I decided to develope it further as a Component. The problem is that the Component get's executed at Design Time. Since it's a UDP-Server Class with Threading etc., it blocks the ports which are specified, and don't even releases them when jumped to Debug Mode.
I already read that I could check of if the executable devenv.exe, but isn't there another way to do that? Like an Attribute which tells him that this Component should be only run at Runtime?
Thanks for your Help,
Bobby
Last edited: