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
OverbyteIcsWndControl.pas on the line 
  GWndHandlerPool := TIcsWndHandlerPool.Create;

run ICSDLLTst1, click Call DLL1
I just update my XE2 to SP4 but this does not fix the problem

I don’t know If it is a Delphi problem or a ICS problem
Thanks for your help

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