Re: [twsocket] DLL implementation advice (or example)...

2011-09-09 Thread Wilfried Mestdagh
Hi Adam, > The problem is that the DLL is quite unstable so I was trying to use a > different approach and hoping to get better stability. Are we talking about TWSocket in your second approach? > Right now, I have the basic DLL test project running - it is connecting > to > my server but the wor

Re: [twsocket] DLL implementation advice (or example)...

2011-09-09 Thread Anton S.
Adam, you should read my recent message called "ICS in DLL. My report about results" here in mail list. I faced with tons of troubles because of DLL nature so finally I returned to my own blocking socket classes (just a simple WinSock wrapper - fortunately I needed only basic functions in DLL).

Re: [twsocket] DLL implementation advice (or example)...

2011-09-09 Thread Anton S.
>I have an existing DLL that was written to use TClientSocket via a data >module. It has a kind of message pump but it works in reverse... it has a >timer thread that uses postmessage to trigger the main app to call a >ReadData function which checks the socket for received data, then processes it.

Re: [twsocket] DLL implementation advice (or example)...

2011-09-09 Thread Angus Robertson - Magenta Systems Ltd
> I'm not a beginner with Delphi but I'm definitely not an expert > either so I'm really struggling to create a DLL-based WSocket > client that does what I need. I wrote an ActiveX DLL about 10 years ago that's still used on my web site today, doing a reverse DNS look-up on the remote IP address