Hello,
I'm a complete newbie to Delphi. I have installed yesterday from the
embarcadero website the Delphi XE2 trial version first and want to add
ICS v7 to it.
As told in the readme file I have opened the OverbyteIcsD7Run.dpk
project and try to build it but I get the error from the compiler:
[DCC Warning] OverbyteIcsWndControl.pas(1067): W1024 Combining signed
and unsigned types - widened both operands
[DCC Warning] OverbyteIcsWndControl.pas(1067): W1023 Comparing signed
and unsigned types - widened both operands
[DCC Warning] OverbyteIcsWndControl.pas(1079): W1024 Combining signed
and unsigned types - widened both operands
[DCC Error] OverbyteIcsWSocket.pas(2220): E2037 Declaration of 'Dup'
differs from previous declaration
[DCC Warning] OverbyteIcsWSocket.pas(6369): W1023 Comparing signed and
unsigned types - widened both operands
[DCC Warning] OverbyteIcsWSocket.pas(16081): W1023 Comparing signed and
unsigned types - widened both operands
[DCC Fatal Error] OverbyteIcsD7Run.dpk(70): F2063 Could not compile used
unit 'OverbyteIcsWSocket.pas'
I think what causes it not to function is the Dup declaration, the
warnings can be ignored (or am I wrong?)
When looking up the code I find in the OverbytIcsWsocket.pas:
1235 procedure Dup(NewHSocket : TSocket); virtual;
and
2220 procedure Dup(NewHSocket: Integer); override;
I don't understand because once the procedure dup has a parameter
declared as TSocket type, and the overrriding one as Integer type, so it
must cause that compiler error, or not?
Thanks for helping me
DesignMedia
P.S.: I made a mistake and sent the same email from a wrong email
address, sorry !!
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be