> Thank you so much for all your patience and an excellent product.
You welcome.
In french, we have a proverb saying (Free translation): "Only those who
don't work, don't do errors".
--
[EMAIL PROTECTED]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet
Francois I am terribly embarressed! Through a combination of type and
variable errors I missed the obvious.
WSocket.Send(@Size,2) works indeed.
Thank you so much for all your patience and an excellent product.
Regards,
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
> Size: Word;
> p:= @Size;
> WSocket.Send(Size,2); // THIS IS THE PROBLEM. IT WORKS IF I NOW USE P as
Send takes a pointer as first parameter. You are passing an integer ! That
is what the compiler telling you when it says "There is no overloaded
version of "Send" that can be called with the
Hi,
Yes in the mean time I've adjusted the code, please see previous email.
Regards,
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois PIETTE
Sent: 15 August 2008 14:09
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
>> The er
Hi There
Here is the entire routine:
procedure TfrmMain.btnRequestClick(Sender: TObject);
var XMLData: TStringStream;
SizeData: TMemoryStream;
Msg: String;
Size: Word;
p: TWSocketData;
begin
{Package and send}
Msg:= BuildVendRequest(edSeq.Value,edReference.Text,114.50,'0100032');
>> The error I received was "There is no overloaded version of "Send" that
>> can
>> be called with these arguments.
>>
>> This is when I try to send a variable of type word. The @ prefix did not
>> work either.
>> WSocket.BufSize:= 2;
>> p:= @Size;
>> WSocket.Send(p);
TWSocket.Send require tw
> Would be REALLY interesting to see the offending line !
He gave it in an earlier message, only one parameter so clearly an error,
and not pointing to any data either but the size, and corrupting the main
buffer:
WSocket.BufSize:= 2;
p:= @Size;
WSocket.Send(p);
Angus
--
To unsubscribe
> The error I received was "There is no overloaded version of "Send" that
> can
> be called with these arguments.
>
> This is when I try to send a variable of type word. The @ prefix did not
> work either.
Would be REALLY interesting to see the offending line !
> I'm using Delphi 2007 Version 11
The error I received was "There is no overloaded version of "Send" that can
be called with these arguments.
This is when I try to send a variable of type word. The @ prefix did not
work either.
I'm using Delphi 2007 Version 11.0.2804.9245
I'm not sure if there are further updates available.
Reg
> I declared p as TWSocketData, assigned my data to it and Send sends it
> perfectly! Strange that I cant use my data straight in the send method (I
> get the type mismatch error).
Please post your code snippet here, and the exact error message.
Which Delphi version are you using ?
Are you sure yo
Thanks Francois
I declared p as TWSocketData, assigned my data to it and Send sends it
perfectly! Strange that I cant use my data straight in the send method (I
get the type mismatch error).
Thanks again!
Regards,
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>I have tried to ctrl+click to find the delcaration, but it would not.
Have you tried CTRL+SHFT+F (Find in files) ? This always work !
TWSocketData is defined in WSockBuf.pas like this:
TWSocketData = type Pointer;
If you need to use it in you own application, just add OverbyteIcsWSockBuf
in
12 matches
Mail list logo