So you don't call Application.ProcessMessages or any other message pump form ?
If you do, it is a problem.
--
[EMAIL PROTECTED]
http://www.overbyte.be

----- Original Message ----- 
From: "Juan Pablo Franco" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, August 19, 2005 4:44 PM
Subject: Re: [twsocket] Hi, I've a question


> Francois,
> 
> processMessage is used to parsing the receive string and put the data in an 
> public array, this array is used for an other process that paint on the 
> screen.
> Then I need full data in the string, if not is complete the paint process 
> do incorrect picture.
> Thanks again and I will investigate this.
> 
>                     Juan Pablo
> 
> 
> At 11:15 19/08/2005, you wrote:
> > > procedure TFVisor.overlayListenDataAvailable(Sender: TObject; ErrCode: 
> > Word);
> > > begin
> > >       ...
> > >       processMessage(s);
> > >       ...
> > > end;
> >
> >That is the problem. You defenitely can't call ProcessMessages from most 
> >of the event handler of ICS
> >components and for sure not from OnDataAvailable.
> >
> >Why do you think you need to call ProcessMessages ?
> >
> >--
> >[EMAIL PROTECTED]
> >http://www.overbyte.be
> >
> >
> >----- Original Message -----
> >From: "Juan Pablo Franco" <[EMAIL PROTECTED]>
> >To: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
> >Cc: <twsocket@elists.org>
> >Sent: Friday, August 19, 2005 3:44 PM
> >Subject: Re: [twsocket] Hi, I've a question
> >
> >
> > > Hi Wilfried,
> > >
> > > The problem is present because I test of data in the sent machine and the
> > > data not is the same in Receive machine.
> > > If I send 30Kb of data, in the other machine receive 7Kb only; and I don't
> > > know what is the problem.
> > > Send you part of code of application, but I know that information is sent
> > > and not all receive.
> > > Thanks again.
> > > Bye.
> > >                         Juan Pablo Franco
> > >
> > >
> > > SENT MACHINE
> > > overlaySocket.SendStr(Msg);
> > >
> > >
> > > RECEIVE MACHINE:
> > > procedure TFVisor.overlayListenDataAvailable(Sender: TObject; ErrCode: 
> > Word);
> > > var
> > >      Buffer : array [0..50000] of char;
> > >      Src    : TSockAddrIn;
> > >      Len, SrcLen: Integer;
> > >      s:string;
> > > begin
> > >      overlayListen.BufSize := 16384;
> > >      SrcLen := SizeOf(Src);
> > >      overlayListen.Receive(@Buffer, SizeOf(Buffer));
> > >      s:=StrPas(Buffer);
> > >
> > >       processMessage(s);
> > >       ...
> > > end;
> > >
> > >
> > >
> > >
> > > At 10:16 19/08/2005, you wrote:
> > > >Hi Juan,
> > > >
> > > >Yes please tell me what the problem is. BTW if you ask on mailing list I
> > > >will answer too, and also lots of other people will help there.
> > > >
> > > >---
> > > >Mvg, Wilfried
> > > >http://www.mestdagh.biz
> > > >
> > > >
> > > >--- Original message from Juan Pablo Franco ---
> > > >Date:    Friday, August 19, 2005
> > > >Time:    15:04
> > > >Subject: Hi, I've a question
> > > >
> > > > > Hi partner, I reading your paper about Receiving High speed data and i
> > > > > don't use this example in my application.
> > > > > When I process message I can't read data sent. The data sent is a 
> > string,
> > > > > many strings. Puntually, 360 strings per second and one string 
> > conteined
> > > > > many information.
> > > > > Can you help me?
> > > > > I'm sorry, but I am from Argentina and my english not is good.
> > > > > Bye and thanks.
> > > >
> > > > >                              Juan Pablo
> > >
> > > --
> > > To unsubscribe or change your settings for TWSocket mailing list
> > > please goto http://www.elists.org/mailman/listinfo/twsocket
> > > Visit our website at http://www.overbyte.be
> >
> >--
> >To unsubscribe or change your settings for TWSocket mailing list
> >please goto http://www.elists.org/mailman/listinfo/twsocket
> >Visit our website at http://www.overbyte.be
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to