Re: [twsocket] ICS in DLL. My report about results

2011-07-17 Thread Stan
ot; To: Sent: Saturday, July 16, 2011 10:33 PM Subject: Re: [twsocket] ICS in DLL. My report about results >Why don't you use initialization/finalization sections? Do you really think that these sections are executed not from DLLMain? -- Anton -- To unsubscribe or change your settings fo

Re: [twsocket] ICS in DLL. My report about results

2011-07-17 Thread breezesoftware
Paul -- Message: 1 Date: Sat, 16 Jul 2011 23:33:11 +0400 From: "Anton S." Subject: Re: [twsocket] ICS in DLL. My report about results To: twsocket@elists.org Message-ID: Content-Type: text/plain; charset=windows-1251 >Why don't you use initialization/finali

Re: [twsocket] ICS in DLL. My report about results

2011-07-16 Thread Anton S.
>Why don't you use initialization/finalization sections? Do you really think that these sections are executed not from DLLMain? -- Anton -- 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 h

Re: [twsocket] ICS in DLL. My report about results

2011-07-15 Thread Stan
Unfortunately DLLMain appeared to be a very tricky thing: you can't call methods from other DLLs from there (incl Yes, there is a lot of info about this in the Net. I revised the situation but found only one way: provide special Start/Finish methods for init/cleanup. Why don't you use initial

[twsocket] ICS in DLL. My report about results

2011-07-14 Thread Anton S.
After 1.5 days of struggling with DLL and async model I decided to share some experience. What I needed is DLL with several functions interacting via sockets with a remote app. They must send request messages, receive responces, process them and return as out parameters. Function call must be bl