Arno Garrels wrote:
> vanroie.d...@skynet.be wrote:
>> Hi,
>> 
>> I started from  the project plateformDemos\icsDLL1.dpr (but targeted
>> to win32) and modify it suit my needs.
>> I have a wierd problem which seems to come from the fact that when
>> calling loadLibrairy  whih call system.InitProcs call 2 times the
>> initilization clause of OverbyteIcsWndControl.pas
>> so I have two TIcsWndHandlerPool created and the TWSocket and
>> TIcsWndControl didn’t share the same TIcsWndHandlerPool
>> 
>> To reproduce the problem (2 instances of TIcsWndHandlerPool created
>> after the loadLibrairy) , simply add to the uses clause of
>> ICSDLL1.dpr “OverbyteIcsWndControl” and set a break point to

> I'm unable to reproduce it.

Oh, that's probably your typo, isn't it?
If you add OverbyteIcsWndControl to the _host application_ as well then it's
actually being called twice and two pools are created (and destroyed on
finalization) however that is how initialization sections work. 
What problem do you have with this?

-- 
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

Reply via email to