[twsocket] Unable to create TIcsWndControl hidden window.

2013-04-12 Thread Max Terentiev
Hi, My app uses TWSocket (TSmtpCli) inside TThreads. I create 25 TSmtpCli's per TThread. All TSmtpCli instances created inside TThread Execute. TStmpCli-MultiThreaded set to true. My TThreads have message loops. With 5000 SmtpCli's (inside 200 TThreads) I got exception: Unable to create

Re: [twsocket] Unable to create TIcsWndControl hidden window.

2013-04-12 Thread Angus Robertson - Magenta Systems Ltd
Unable to create TIcsWndControl hidden window. Error 1158 How I can use 4-5K of TSmtpClis in my app ? You are probably out of memory. You need a 64-bit server OS for a lot of connections. You can use these APIs to get various memory information about your application and the PC, to see what