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 worker

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