Good to hear! On Wed, Jul 1, 2009 at 11:24 PM, lloyd thomas <[email protected]>wrote:
> Thanks Guys, your solution seems to have worked. left it a month and still > going strong. > > Lloydie T > > 2009/5/27 lloyd thomas <[email protected]> > > Thanks Guys, >> I will give the previous solution a go to see if >> it resolves my problem. It will take a couple of days though to get a >> definative answer though. >> >> Lloydie T >> >> 2009/5/27 Werner Hauptfleisch <[email protected]>: >> > Hi, >> > >> > Please see original post to this thread by Lloyd Thomas on my 23rd >> (source >> > code located at http://pastebin.com/m5e3de129) >> > >> > This code can be reflected or altered in lines 223 onwards :). I do not >> > think it is necessary to exit the thread, but simply reconnect to the >> port >> > again (off course, the thread could be restarted if required...really up >> to >> > Lloyd to see if he can use it and solve his problem) >> > >> > Cheers! >> > >> > On Wed, May 27, 2009 at 4:26 PM, Markku Uttula < >> [email protected]> >> > wrote: >> >> >> >> Werner Hauptfleisch wrote: >> >> > You are right - sorry sucked that out of my thumb as a quick >> indication >> >> > to a possible solution, maybe this will work: >> >> > >> >> > repeat >> >> > LCMD := Recvstring(1000); >> >> > if (LastError = 0) and (LCMD <> '') then //Data was received >> >> > without any issues >> >> > begin >> >> > myconverterfunc1:=...@callconv1; >> >> > myconverterfunc1(LCMD); >> >> > end >> >> > else if LastError <> ErrTimeOut then //No data was received and >> it >> >> > was not a timeout, so something else is wrong >> >> > break; //break and try to rebind and the continue with loop >> >> > until terminated; >> >> >> >> Does "break" set the "terminated"? As I don't know what goes on around >> >> this loop (whether terminated is a local, global, or system provided >> >> variable) I can't know :) >> >> >> >> If it does, quickly that looks like it could work. I need to say that I >> >> don't have Delphi here, so I'm only guessing - my comments are not >> based >> >> on any kind of testing on my behalf. >> >> >> >> -- >> >> Markku Uttula >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> >> is a gathering of tech-side developers & brand creativity >> professionals. >> >> Meet >> >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> >> iPhoneDevCamp as they present alongside digital heavyweights like >> >> Barbarian >> >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> >> _______________________________________________ >> >> synalist-public mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/synalist-public >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> > is a gathering of tech-side developers & brand creativity professionals. >> > Meet >> > the minds behind Google Creative Lab, Visual Complexity, Processing, & >> > iPhoneDevCamp as they present alongside digital heavyweights like >> Barbarian >> > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> > _______________________________________________ >> > synalist-public mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/synalist-public >> > >> > >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > synalist-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/synalist-public > >
------------------------------------------------------------------------------
_______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
