DZ-Jay wrote: > On Mar 28, 2010, at 13:00, Arno Garrels wrote: > >> Very strange, I never hit this one in 2009+, however I'm runing the >> IDE on Windows 32-bit. If you look at the source code you'll find >> that global variable GUnitFinalized is set to TRUE in Finalization >> section. Since global variables ought to be initialized to "0" it >> makes no sense to me. > > I haven't seen the source of this version of ICS, but it occurs to me > that if the Initialization fails, the Finalization will be executed > to unload the unit. The IDE executes the components when loaded on a > Form at design time.
If unit initialization failed (for whatso reason ever) AllocateHWnd should not have been called. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be